diff options
author | Kevin Cernekee <[email protected]> | 2017-09-16 21:08:24 -0700 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2017-10-02 16:51:21 +0300 |
commit | dd2349121bb1b8ff688c3ca6a2a0bea9d8c142ca (patch) | |
tree | ba8b84deba9a4702f5ea71520dba1169f9ee099e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | b8b8b16352cd90c6083033fd4487f04fae935c18 (diff) |
brcmfmac: Add check for short event packets
The length of the data in the received skb is currently passed into
brcmf_fweh_process_event() as packet_len, but this value is not checked.
event_packet should be followed by DATALEN bytes of additional event
data. Ensure that the received packet actually contains at least
DATALEN bytes of additional data, to avoid copying uninitialized memory
into event->data.
Cc: <[email protected]> # v3.8
Suggested-by: Mattias Nissler <[email protected]>
Signed-off-by: Kevin Cernekee <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions