aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-08-14 12:07:48 +0300
committerKalle Valo <[email protected]>2018-08-31 18:43:36 +0300
commit3348ef6a6a126706d6a73ed40c18d8033df72783 (patch)
treea23bddefdb4f2287260537d21bc3c110cc45ceee /tools/perf/scripts/python
parent62a25dc56990a382afeb40891eead0dbf8b598b4 (diff)
libertas_tf: prevent underflow in process_cmdrequest()
If recvlength is less than MESSAGE_HEADER_LEN (4) we would end up corrupting memory. Fixes: c305a19a0d0a ("libertas_tf: usb specific functions") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions