[alsa-devel] [PATCH] fix segfault on x32, 64-bit time_t-related format strings

Thorsten Glaser t.glaser at tarent.de
Wed Nov 20 21:51:14 CET 2019


Hi everyone,

here are two patches I’ve been rebasing with each new upload
of alsa-lib to Debian to make things work for my x32 desktop.

The small one fixes it misdetecting x32 as amd64, which leads
to an immediate segfault.

The other one fixes issues related to printing time_t values
on platforms where time_t is 64 bit wide and long 32 bit wide
(various BSDs and all new 32-bit and *64ilp32 Linux platforms).

The Debian packager of alsa-lib hasn’t found it necessary to
forward them upstream, so I’m doing it with this. I hope they
can be included in the next releases. The patches were last
updated for 1.1.8 although I need to update them to 1.1.9 which
was recently introduced to Debian… usually they apply still.

Thanks in advance,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-fix-format-strings.patch
Type: text/x-diff
Size: 3189 bytes
Desc: 
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20191120/e1b4f348/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-distinguish-x32-from-amd64.patch
Type: text/x-diff
Size: 435 bytes
Desc: 
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20191120/e1b4f348/attachment-0003.bin>


More information about the Alsa-devel mailing list