[PATCH v2] Avoid deadlock in malloc on backtrace
Siddhesh Poyarekar
siddhesh@redhat.com
Tue May 19 09:24:00 GMT 2015
On Mon, May 18, 2015 at 09:58:58AM -0400, Mike Frysinger wrote:
> > +int
> > +do_test (void)
> > +{
> > + void *ptr1 = malloc (SIZE);
> > + void *ptr2 = malloc (SIZE);
> > +
> > + call_free ((void *) ptr1);
>
> ptr1 is already a void*
Thanks, I've fixed that and committed the patch.
Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150519/609a46f3/attachment.sig>
More information about the Libc-alpha
mailing list