[PATCH] Fix GCC 8's -Wstringop-overflow on bfd/coff-rs6000.c

Sergio Durigan Junior sergiodj@sergiodj.net
Tue Feb 6 16:48:00 GMT 2018


On Tuesday, February 06 2018, Nick Clifton wrote:

> Hi Sergio,
>
>> 2018-02-05  Sergio Durigan Junior  <sergiodj@redhat.com>
>> 
>> 	* coff-rs6000.c (xcoff_write_archive_contents_old): Use
>> 	'memcpy' instead of 'strncpy' when writing the magic number.
>
> Approved - please apply.

Thanks, pushed.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/



More information about the Binutils mailing list