Hi HATAYAMA,
On Thu, May 10, 2012 at 8:24 AM, HATAYAMA Daisuke
<d.hatayama(a)jp.fujitsu.com> wrote:
From: Per Fransson <per.fransson.ml(a)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?
I'm ok with this patch, and it pass my local test.
Thanks,
Lei