[PATCH][AVR] fix unsafe uses of sprintf
Nick Clifton
nickc@redhat.com
Thu Nov 6 12:05:00 GMT 2008
Hi Denver,
> "Denver Gingerich" <denver@ossguy.com> writes:
>> - sprintf (buf, xyz);
>> + sprintf (buf, "%s", xyz);
> Andreas Schwab wrote:
> Or strcpy.
Point. I have checked in Andreas's version of the patch.
Cheers
Nick
opcodes/ChangeLog
2008-11-06 Nick Clifton <nickc@redhat.com>
* avr-dis.c: Replace uses of sprintf without a format string with
calls to strcpy.
More information about the Binutils
mailing list