[Debian-med-packaging] Bug#749367: updated patch

Plamen Aleksandrov plamen at aomeda.com
Thu Jun 26 14:31:03 UTC 2014


I just look at the patch provided by Aleksandar. I believe unaligned access is still possible after applying it.

The reason is that an auto array of uint8_t is still only guaranteed to be 1-byte aligned. These discussions confirm this:
http://stackoverflow.com/questions/4009463/alignment-of-char-arrays
http://bytes.com/topic/c/answers/811633-alignment-stack-arrays

So I updated the patch to fix this issue.

Plamen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-fix-alignment.patch
Type: text/x-diff
Size: 10706 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140626/be4a1e7a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140626/be4a1e7a/attachment.sig>


More information about the Debian-med-packaging mailing list