CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2015/07/15 07:14:17

Modified files:
        sys/dev/usb    : hidkbd.c 

Log message:
Fix two bugs in the variable keys handling:
- do not overrun the array if there are more than MAXVARS, by using the
proper variable in the check.
- correctly allow up to MAXVARS (128), not strictly less than.

This makes mlarkin's new shiny Corsair K70 RGB gaming keyboard work.
Tested by and ok mlarkin@

Reply via email to