[PATCH] libdwfl: linux-proc-maps.c (proc_maps_report): Don't assert on bad input.
Mark Wielaard
mjw at redhat.com
Mon Mar 3 08:27:24 UTC 2014
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 at redhat.com>
> +
> + * linux-proc-maps.c (proc_maps_report): Don't assert on bad input.
I pushed this to master.
More information about the elfutils-devel
mailing list