Re: [PATCH] perf: Fix ppc64 SEGV in dso__load_sym with debuginfofiles

From: Eric B Munson
Date: Mon Jul 25 2011 - 10:37:16 EST


On Mon, 25 Jul 2011, Anton Blanchard wrote:

>
> 64bit PowerPC debuginfo files have an empty function descriptor
> section. I hit a SEGV when perf tried to use this section for
> symbol resolution.
>
> To fix this we need to check the section is valid and we can
> do this by checking for type SHT_PROGBITS.
>
> Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxx>

Acked-by: Eric B Munson <emunson@xxxxxxxxx>

Attachment: signature.asc
Description: Digital signature