diff options
author | 2021-04-19 15:58:42 +0100 | |
---|---|---|
committer | 2021-04-22 17:40:12 +0300 | |
commit | 130f634da1af649205f4a3dd86cbe5c126b57914 (patch) | |
tree | a90e9135a7a4a04b8c969af89349777c93c46f6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wlcore: Fix buffer overrun by snprintf due to incorrect buffer size (diff) | |
download | wireguard-linux-130f634da1af649205f4a3dd86cbe5c126b57914.tar.xz wireguard-linux-130f634da1af649205f4a3dd86cbe5c126b57914.zip |
qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
Function qtnf_event_handle_external_auth calls memcpy without
checking the length.
A user could control that length and trigger a buffer overflow.
Fix by checking the length is within the maximum allowed size.
Signed-off-by: Lee Gibson <leegib@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210419145842.345787-1-leegib@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions