git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aef7dd
)
mwifiex: potential integer underflow in mwifiex_ret_wmm_get_status()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 22 Oct 2013 22:24:42 +0000
(15:24 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 11 Nov 2013 19:38:56 +0000
(14:38 -0500)
Before we loop for next iteration we adjust the buffer pointer and
"resp_len":
curr += (tlv_len + sizeof(tlv_hdr->header));
resp_len -= (tlv_len + sizeof(tlv_hdr->header));
If "resp_len" gets set to negative then it counts as a high positive
value.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/wmm.c
patch
|
blob
|
history
diff --cc
drivers/net/wireless/mwifiex/wmm.c
Simple merge