diff options
| author | Dan Carpenter <[email protected]> | 2018-08-14 12:07:48 +0300 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-08-31 18:43:36 +0300 |
| commit | 3348ef6a6a126706d6a73ed40c18d8033df72783 (patch) | |
| tree | a23bddefdb4f2287260537d21bc3c110cc45ceee /tools/perf/scripts/python | |
| parent | 62a25dc56990a382afeb40891eead0dbf8b598b4 (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