diff options
author | Denis Efremov <[email protected]> | 2020-06-03 13:28:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-06-24 17:11:58 +0200 |
commit | 5de30b286e7166164f9e45de991bde26f5db8298 (patch) | |
tree | d173cc37c6d1f5eca98bd7029327fce9f757b53a /tools/perf/scripts/python | |
parent | 5ba1278787225629fb0b58de768e744714215678 (diff) |
tty/vt: check allocation size in con_set_unimap()
The vmemdup_user() function has no 2-factor argument form. Use array_size()
to check for the overflow.
Signed-off-by: Denis Efremov <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions