summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-01-25 21:00:44 (GMT)
committerMarek Vasut <marex@denx.de>2016-01-25 21:00:46 (GMT)
commitbdbcbe752e93357226cba12a6ce00bbe54cb5db8 (patch)
treeba459034dfe6eb16ebbf4dd1b1fb57f70cad58e3 /examples
parent4feefdcfe916113ac6e1837ea22857f25fe1771c (diff)
downloadu-boot-bdbcbe752e93357226cba12a6ce00bbe54cb5db8.tar.xz
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>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions