[Crash-utility] ARM: gcore, arm_regsets causes segfault

Dave Anderson anderson at redhat.com
Fri May 11 14:28:30 UTC 2012



----- Original Message -----
> From: Per Fransson <per.fransson.ml at gmail.com>
> Subject: [Crash-utility] ARM: gcore, arm_regsets causes segfault
> Date: Wed, 9 May 2012 18:01:56 +0200
> 
> > Hi,
> > 
> > The for loop in
> > 
> >    libgcore/gcore_coredump.c:fill_thread_core_info()
> > 
> > does a
> > 
> >    notesize(struct memelfnote *)
> > 
> > where memelfnote->name points to the name of the corresponding
> > arm_regset member (except REGSET_GPR).
> > 
> > But notesize calls strlen on those strings and
> > 
> >    arm_regsets[REGSET_VFP]->name == 0x0
> > 
> > making it segfault.
> > 
> > Regards,
> > Per
> > 
> 
> Hello Fransson,
> 
> Thanks for your report.
> 
> Lei, could you review and test attached patch?
> 
> Thanks.
> HATAYAMA, Daisuke
> 

Hi Daisuke,

Since the module is versioned, will you be creating an updated
version for the extensions page?

Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 859 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120511/542c3a83/attachment.bin>


More information about the Crash-utility mailing list