This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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] libdw: Don't overflow stack with user defined macro attributes array.


On Tue, Apr 21, 2015 at 04:22:53PM +0200, Petr Machata wrote:
> Mark Wielaard <mjw@redhat.com> writes:
> >        for (Dwarf_Word i = 0; i < proto->nforms; ++i)
> >  	{
> 
> There's a return in this loop that needs free (attributesp) as well.

Oops. Missed that one.
Fixed patch attached.

Thanks,

Mark

Attachment: 0001-libdw-Don-t-overflow-stack-with-user-defined-macro-a.patch
Description: Text document


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