aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJyoti Kumari <jyotkuma@codeaurora.org>2021-02-03 17:10:16 +0530
committerJyoti Kumari <jyotkuma@codeaurora.org>2021-03-10 12:37:49 +0530
commitc123cd3061b544904d9a5a4bb07c5b74f7987a62 (patch)
tree469636dc9c3b3ebc75fdd1ec19ead83fd9b88fbf /scripts/gdb/linux/utils.py
parentbb5e1d8678b5ec347b296563d2173237d403d0bb (diff)
qcacmn: Fix out of bound issue in util_scan_parse_mbssid()
During multiple BSSID scan ie parse, there is memory allocation on new_ie variable of size 1024 which may create buffer overflow in util_gen_new_ie() if ie length is greater than 1024. As part of fix, allocate memory of size ie length in new_ie. And also add check before copying to pos variable in util_gen_new_ie(). Change-Id: I55e0819817b5a616684067170bf28a314a145fc2 CRs-Fixed: 2867353
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions