[Debian-med-packaging] Bug#748395: Bug#748395: Misaligned array access caused by conflicting declarations

Gert Wollny gw.fossdev at gmail.com
Fri May 16 22:49:12 UTC 2014


I looked a bit on how the tables are addressed and it seems they only
use normal c-array indexing (and not some wired pointer arithmetic).
Therefore, I'm  quite confident that the element "Padding" is indeed not
more than an explicit way to pad the structure to have a "nice" size. 

Given that PLUNICODE is supposed to be of 4 byte size, the pad value 7
makes more sense since it pads the structure to a size of 16 byte, which
is the usual boundary for aligned memory access, and also may make it
faster to calculate the address to an array element (depending on the
arch).

Unless someone wants to remove the embedded code copy anyway, I could 
upload a patch until Monday.

best regards, 
Gert 



More information about the Debian-med-packaging mailing list