This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH v2] Avoid deadlock in malloc on backtrace


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

Attachment: pgpK2ElLU6yjt.pgp
Description: PGP signature


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