aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBorys PopÅ‚awski <[email protected]>2022-10-04 22:59:03 +0000
committerBorislav Petkov <[email protected]>2022-11-08 19:34:05 +0000
commitf0861f49bd946ff94fce4f82509c45e167f63690 (patch)
treefba0ba0ad4864609e5520a8322c634ac0b423435 /tools/perf/util/scripting-engines/trace-event-python.c
parentLinux 6.1-rc4 (diff)
downloadkernel-f0861f49bd946ff94fce4f82509c45e167f63690.tar.gz
kernel-f0861f49bd946ff94fce4f82509c45e167f63690.zip
x86/sgx: Add overflow check in sgx_validate_offset_length()
sgx_validate_offset_length() function verifies "offset" and "length" arguments provided by userspace, but was missing an overflow check on their addition. Add it. Fixes: c6d26d370767 ("x86/sgx: Add SGX_IOC_ENCLAVE_ADD_PAGES") Signed-off-by: Borys PopÅ‚awski <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Cc: [email protected] # v5.11+ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions