summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2019-07-26 12:12:56 +0530
committerAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2019-07-26 12:12:56 +0530
commite834a5c81bdc28b744c0255cdeca1127d0ed7562 (patch)
treea0e2bc7b1933565f66d06ea53ff9ace4f541138a /scripts/objdiff
parent6686b645b79955ed891d001ab578ad2ca8875496 (diff)
qcacld-3.0: Possible integer overflow in hdd apf read memory cb
In hdd_apf_read_memory_cb, context buffer length is checked against sum of packet offset and event length, packet offset and event length are extracted from FW response and can lead to integer overflow, which will allow to pass the length check and eventually will lead to buffer overwrite when event data is copied to context buffer. To avoid this issue, validate the event length against the available length in the context buffer, which can be obtained by getting difference of packet offset from the context buffer length. Change-Id: I53798e56403f1c550f0a762645ccd67a1dc8500d CRs-fixed: 2436502
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions