aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@chromium.org>2017-09-16 21:08:23 -0700
committerKalle Valo <kvalo@codeaurora.org>2017-10-02 17:07:00 +0300
commita7c9acc452b21b56c99dd7dfe0ab542f7baa6563 (patch)
treecc2ff94d10a52bd61eb418dc4fec5b782d0e78e0 /tools/perf/scripts/python
parentbrcmfmac: Avoid possible out-of-bounds read (diff)
downloadlinux-a7c9acc452b21b56c99dd7dfe0ab542f7baa6563.tar.gz
linux-a7c9acc452b21b56c99dd7dfe0ab542f7baa6563.zip
brcmfmac: Delete redundant length check
brcmf_fweh_process_event() sets event->datalen to the endian-swapped value of event_packet->msg.datalen, which is the same as emsg.datalen. This length is already validated in brcmf_fweh_process_event(), so there is no need to check it again upon dequeuing the event. Suggested-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kevin Cernekee <cernekee@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions