lkml.org 
[lkml]   [2013]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/15] perf tools: validate perf event header size
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.



\
 
 \ /
  Last update: 2013-06-27 12:21    [W:0.117 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site