diff options
author | 2013-10-22 15:24:42 -0700 | |
---|---|---|
committer | 2013-11-11 14:38:56 -0500 | |
commit | 95edbc30db7882a45c4040747331cf613aa23c4a (patch) | |
tree | f3867f5c4caa148508daa7d725d84329486f1d1f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtlwifi: rtl8192se: Fix wrong assignment (diff) | |
download | linux-dev-95edbc30db7882a45c4040747331cf613aa23c4a.tar.xz linux-dev-95edbc30db7882a45c4040747331cf613aa23c4a.zip |
mwifiex: potential integer underflow in mwifiex_ret_wmm_get_status()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions