commit | 0082cd1c05d40da84497ff9047d8d1a76ae332a8 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Jan 25 22:00:44 2016 +0100 |
committer | Marek Vasut <marex@denx.de> | Mon Jan 25 22:00:46 2016 +0100 |
tree | ba459034dfe6eb16ebbf4dd1b1fb57f70cad58e3 | |
parent | fbb66bffefe286fd5f24b02e9e28fa66ebe91233 [diff] |
usb: kbd: Prevent out of bound access Scan code 0x39 is CapsLock, which is not a printable character and thus is not covered by either usb_kbd_numkey_shifted[] or usb_kbd_numkey[]. Fix the scan code check to avoid looking it up in either of the arrays. Signed-off-by: Marek Vasut <marex@denx.de>