[PATCH] bfd: fix memory allocation (PR 26005)

Nick Clifton nickc@redhat.com
Tue May 19 16:33:35 GMT 2020


Hi Gunther,

> To fix PR 26005 you replaced a bfd_zalloc with bfd_malloc + memset. However,
> the memset call is misplaced since it is before the NULL check.  

Doh - it has not been my week. :-(

Thanks for the correction, I have applied it.

Cheers
  Nick



More information about the Binutils mailing list