aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-07-30 12:55:46 +0200
committerGreg Kroah-Hartman <[email protected]>2020-07-31 20:22:06 +0200
commitf3af1b68fc96b14b93d1013ce7965723dc53ebbc (patch)
tree99802b547781d2caf80832a8062a36a0420d1ed3 /scripts/gcc-plugins/structleak_plugin.c
parent7df5081cbf5e1c342acd30850a483ef504519937 (diff)
tty: keyboard, do not speculate on func_table index
It is very unlikely for processor to speculate on the func_table index. The index is uchar and func_table is of size 256. So the compiler would need to screw up and generate a really bad code. But to stay on the safe side, forbid speculation on this user passed index. Signed-off-by: Jiri Slaby <[email protected]> Cc: Jiri Kosina <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions