Re: [PATCH 09/15] perf tools: validate perf event header size
From: Adrian Hunter
Date: Thu Jun 27 2013 - 03:55:33 EST
On 26/06/13 04:44, Namhyung Kim wrote:
> Hi Adrian,
>
> On Mon, 24 Jun 2013 16:16:06 +0300, Adrian Hunter wrote:
>> 'size' includes the header so must be at least
>> 'sizeof(struct perf_event_header)'. Error out
>> immediately if that is not the case. Also
>
> Just out of curiosity.
>
> Do you have an experience it really matters? AFAICS such an invalid
> sample should be detected during sample processing.
The patch was written a long time ago so I don't remember sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/