1 Feb 2012 05:15
Re: [PATCH] Fix segmentation fault for makedumpfile -x/--split
Hi Aruna, On Tue, 31 Jan 2012 15:56:33 +0530 Aruna Balakrishnaiah <aruna@...> wrote: > > The patch fixes the segmentation fault issue of makedumpfile when a > user specifies an invalid file name with -x/--split option. > The patch takes care of such a scenario by setting .find_debuginfo to > a function pointer which returns -1 and throws error messages against > invalid vmlinux file input. With a valid vmlinux file .find_debuginfo > was never invoked since the absolute path of debuginfo was known by the > time we call init_dwarf_info. > > Signed-off-by: Aruna Balakrishnaiah <aruna@...> > --- > dwarf_info.c | 25 +++++++++++++++++++++++++ > 1 files changed, 25 insertions(+), 0 deletions(-) Thank you for your patch. I will review it. Thanks Atsushi Kumagai > diff --git a/dwarf_info.c b/dwarf_info.c > index 46dcd8e..515455d 100644 > --- a/dwarf_info.c > +++ b/dwarf_info.c > <at> <at> -204,6 +204,16 <at> <at> search_module_debuginfo(char *os_release)(Continue reading)
RSS Feed