[PATCH libevdev 1/5] Don't sync past MAX_SLOTS slots

Benjamin Tissoires benjamin.tissoires at gmail.com
Mon Mar 3 07:38:36 PST 2014


On Thu, Feb 27, 2014 at 1:27 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> If a device has more than MAX_SLOTS slots, we'd run out-of-bounds on the sync
> array. This function is sig-safe, so we can't alloc here, merely limit the
> access.
>
> Reported-by: Jonas Ådahl <jadahl at gmail.com>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---


Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>


More information about the Input-tools mailing list