summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>2019-06-13 15:49:16 +0530
committernshrivas <nshrivas@codeaurora.org>2019-06-23 23:06:39 -0700
commit678bee343db905c92bf3de05019545fd81323a40 (patch)
tree99e3046fa55da0baa91a75610b87c484937b33ba /scripts/gdb/linux/dmesg.py
parente195e362d23fcb6dbe5f8478fdd2ed70aeef6785 (diff)
qcacld-3.0: Avoid info leak in spectral scan handler
In __spectral_scan_msg_handler(), payload section of input data is type casted to driver internal structure spectral_scan_msg without validating payload length which can lead to kernel info leak if the payload length is less than size of spectral_scan_msg. To fix this, avoid type-cast and return error if payload length is less than size of spectral_scan_msg. Change-Id: Ie7e74cc2cdcf8136582e81ffc3a088fd5a881dc9 CRs-Fixed: 2468493
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions