diff options
| author | Himanshu Agarwal <himanaga@codeaurora.org> | 2017-10-11 13:56:51 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-10-11 19:17:16 -0700 |
| commit | f03212985e9c6a0cdb06eab6312e4eb08cb6cc87 (patch) | |
| tree | d947ac5986aef0fcd6f5b95e9645b997ca7f28b2 /uapi/linux | |
| parent | 0aaea94cea54404b0900502e4dcb130d496c9a05 (diff) | |
qcacld-3.0: Fix input validation for wow_buf_pkt_len
To avoid out of bound memory access of wow_packet_buffer in
wma_wow_wakeup_host_event(), we just need to check that the
wow_buf_pkt_len obtained from first 4 bytes of wow_packet_buffer
is not more than (num_wow_packet_buffer - 4).
Fix input validation for wow_buf_pkt_len in wma_wow_wakeup_host_event().
Change-Id: Id7bf72ccbe2d06c32c1050d69a5a9d35ac8b15e9
CRs-Fixed: 2124643
Diffstat (limited to 'uapi/linux')
0 files changed, 0 insertions, 0 deletions
