summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorAbhinav Kumar <abhikuma@codeaurora.org>2018-04-03 16:39:33 +0530
committernshrivas <nshrivas@codeaurora.org>2018-04-09 05:41:56 -0700
commitdd9c2621ed3515409cf4f9fc2a69550b4eb24fad (patch)
treeee79e8e7e2ffffeed72913a9be361005dfaa7a96 /scripts/gdb/linux/tasks.py
parentc7a72eaddc95f13cf92250128a4a5757f542bddf (diff)
qcacld-3.0: Fix to pass appropriate buffer length to unpack WPA IE
In lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message, length passed to unpack WPA IE is length of WPA IE + 2 bytes extra (rsn_ie->rsnIEdata[1] + 2) - 4. So in case of only WPA IE is present in assoc request, the WPA IE parser will try to validate the buffer beyond the WPA IE and might fail as the extra 2 bytes of buffer might contains some garbage value. Pass appropriate length to unpack WPA IE. Change-Id: Ifad6fabf701a82abd4234569d108b4172adf2bcb CRs-Fixed: 2217455
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions