This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix GCC 8's -Wstringop-overflow on bfd/coff-rs6000.c
- From: Nick Clifton <nickc at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at sergiodj dot net>, binutils at sourceware dot org
- Date: Tue, 6 Feb 2018 14:44:16 +0000
- Subject: Re: [PATCH] Fix GCC 8's -Wstringop-overflow on bfd/coff-rs6000.c
- Authentication-results: sourceware.org; auth=none
- References: <20180206013544.18300-1-sergiodj@sergiodj.net>
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.
Cheers
Nick