commit | 054732837c312c6007994badbc86b0976b228f77 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Jul 19 10:27:33 2018 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Jul 19 16:37:30 2018 +0200 |
tree | 60cc433b2c29fc4b249ddb9c9f6badbe1fc1d223 | |
parent | aeaf7002a76c8da60c0f503badcbddc07650678c [diff] |
s390/keyboard: sanitize array index in do_kdsk_ioctl The kbd_ioctl uses two user controlled indexes for KDGKBENT/KDSKBENT. Use array_index_nospec to prevent any out of bounds speculation. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>