Messages in this thread | | | Date | Thu, 27 Jun 2013 11:01:25 +0300 | From | Adrian Hunter <> | Subject | Re: [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.
| |