Bug#692293: sbox declared with conflicting sizes

Michael Tautschnig mt at debian.org
Sun Nov 4 18:58:58 UTC 2012


Package: aeskeyfind
Version: 1.0-1
Severity: minor

aes.h declares

extern uint8_t sbox[255];

but aes.c defines

uint8_t sbox[256] = { ... };

This may lead to undefined behaviour, in particular if the size of sbox is ever
taken.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20121104/5ed86d5d/attachment.pgp>


More information about the forensics-devel mailing list