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: Fix bad free on invalid data in dwarf_getsrclines.c.


On Sat, 2016-02-13 at 19:42 +0100, Mark Wielaard wrote:
> If the last dir name wasn't zero terminated we goto invalid_data
> and might free the wrong data because we believe ndirlist is valid.
> Don't update ndirlist until we are sure we will use all dirs.

Pushed to master.

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