Re: [PATCH] perf_events: fix bogus copy_to_user() in perf_event_read_group()

From: Stephane Eranian
Date: Mon Nov 23 2009 - 11:47:48 EST


On Mon, Nov 23, 2009 at 5:46 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Mon, 2009-11-23 at 17:36 +0100, Stephane Eranian wrote:
>> Â Â Â ÂWhen using an event group, the value and id for non leaders events were
>> Â Â Â Âwrong due to invalid offset into the outgoing buffer.
>>
>> Â Â Â ÂSigned-off-by: Stephane Eranian <eranian@xxxxxxxxxx>
>
> Gah, I only just wrecked that didn't I...
>
Probably because it worked before.

> Thanks for catching that.
>
>



--
Stephane Eranian | EMEA Software Engineering
Google France | 38 avenue de l'OpÃra | 75002 Paris
Tel : +33 (0) 1 42 68 53 00
This email may be confidential or privileged. If you received this
communication by mistake, please
don't forward it to anyone else, please erase all copies and
attachments, and please let me know that
it went to the wrong person. Thanks
--
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/