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

Per Fransson per.fransson.ml at gmail.com
Wed May 9 16:01:56 UTC 2012


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




More information about the Crash-utility mailing list