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: linux-proc-maps.c (proc_maps_report): Don't assert on bad input.


On Wed, 2014-02-26 at 17:00 +0100, Mark Wielaard wrote:
> If ino == last_ino && dmajor == last_dmajor && dminor == last_dminor then
> we expect the file names to be the same as well. Which is reasonable if
> the input came from the /proc file system. But there could be bad user
> input if the file was supplied through dwfl_linux_proc_maps_report.
> Instead of asserting on the bad input, just signal a bad_report.
>
> +2014-02-26  Mark Wielaard  <mjw@redhat.com>
> +
> +	* linux-proc-maps.c (proc_maps_report): Don't assert on bad input.

I pushed this to master.


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