[PATCH libevdev 0/5] Handling of devices with excessive number of slots
Peter Hutterer
peter.hutterer at who-t.net
Wed Feb 26 22:27:02 PST 2014
Jonas found a bug when handling devices with more than MAX_SLOTS slots. The
sync code overruns the static array (see 1/5). My first reaction was to up
the MAX_SLOTS as well, but we already use an excessive amount of memory, so
I decided to rewrite the code.
Bejamin pointed out the maximum he's seen so far was 60 slots, so let's up
to that.
Please double-check all this, because it worked on the first go and now I'm
doubly cautious...
Cheers,
Peter
More information about the Input-tools
mailing list