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] libdwfl: Fix assert and set in.d_size in dwfl_link_map_report.


On Fri, Aug 12, 2016 at 11:52:51AM +0200, Mark Wielaard wrote:
> When reading the phdrs from a core file segment fails we would try to read
> them from the exec. This fallback path contained a faulty assert that the
> requested size of the phdrs was still setup. But the core file reading
> callback might have reset the d_size value to zero on error. So explicitly
> set the number of bytes we want to read again instead of asserting the size.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1365812

I pushed this to master.

Cheers,

Mark

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