This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] eh-frame clobbers memory


On Sun, May 22, 2005 at 03:14:14AM -0700, Richard Henderson wrote:

> +  if (sec->size > sec->rawsize)
> +    contents = bfd_realloc (contents, sec->size);

This leaks contents on bfd_realloc() failure.

regards,
john


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]