Comment 4 for bug 542197

Revision history for this message
Kees Cook (kees) wrote :

This patch should fix it, though I haven't tested yet. I can't find the docs that says Sword should be unsigned (looking at "man elf"). Oddly, the rest of the code in this function is correctly typed to unsigned, just not the first check. :(