Bug#744281: Mismatch of array sizes

Michael Tautschnig mt at debian.org
Sat Apr 12 12:03:47 UTC 2014


Package: audacious-plugins
Version: 3.4.3-2
Usertags: goto-cc

While compiling the package using our research compiler infrastructure it became
apparent that the following declarations are conflicting:

http://sources.debian.net/src/audacious-plugins/3.4.3-2/src/psf/psx_hw.c?hl=240,243#L240
http://sources.debian.net/src/audacious-plugins/3.4.3-2/src/psf/eng_psf.c?hl=57,59#L57

The fact that the declarations with external linkage are larger by 4 uints may
lead to wrong assumptions by the compiler and hence may cause undefined
behaviour.

The most obvious remedy is making both declarations use the same size.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140412/d6a99a9c/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list