This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA] Avoid ubsan complaint in BFD
- From: Nick Clifton <nickc at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, binutils at sourceware dot org
- Date: Mon, 23 Jul 2018 11:02:52 +0100
- Subject: Re: [RFA] Avoid ubsan complaint in BFD
- References: <20180720155241.20974-1-tom@tromey.com>
Hi Tom,
> bfd/ChangeLog
> 2018-07-20 Tom Tromey <tom@tromey.com>
>
> * elf.c (bfd_get_elf_phdrs): Don't call memcpy with size 0.
Approved, please apply.
I am sidestepping the debate on whether memcpy should handle a size of 0 or not ...
Cheers
Nick