Re: [PATCH 09/15] perf tools: validate perf event header size

From: Namhyung Kim
Date: Tue Jun 25 2013 - 21:44:36 EST


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.

Thanks,
Namhyung
--
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/