[patch] fix buffer overflow in gas error handling
Mike Frysinger
vapier@gentoo.org
Wed Jul 20 22:19:00 GMT 2005
Tavis Ormandy was playing around and found a stack overflow in the gas error
handling routines in gas/messages.c. the fix is simple, just change the 8
uses of vsprintf() to vnsprintf() (patch by Tavis is attached). it should
apply cleanly to 2.16 and mainline branches.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-messages-bof.patch
Type: text/x-diff
Size: 2070 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050720/8bbd9f5b/attachment.bin>
More information about the Binutils
mailing list