diff options
| author | lifeng <lifeng@codeaurora.org> | 2019-03-20 18:05:26 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-03-20 03:57:51 -0700 |
| commit | 88f853c6f2edbdbb5dd9a9120dcb56925edad041 (patch) | |
| tree | 6852f2b5022044dde62e45bc8ff8e49489f485a3 /tools/perf/scripts/python/netdev-times.py | |
| parent | dd636070eba59c8cd74cd60be865780f8535e15c (diff) | |
qcacld-2.0: Fix possible buffer overflow in sirConvertAddtsRsp2Struct
propagation from qcacld-3.0 to qcacld-2.0
In the function sirConvertAddtsRsp2Struct, iterator j is
assigned with the value pAddTs->numTclas + addts.num_WMMTCLAS.
The j value is used as the index to the array pAddTs->tclasInfo.
Maximum limit on pAddTs->tclasInfo entries is 2. So when the
value of j exceeds 2, then a possible buffer overflow could
occur.
Validate the value of j against SIR_MAC_TCLASIE_MAXNUM(2).
Change-Id: Icc723380ed4ccd51c729194d509e288be0e0712c
CRs-Fixed: 2419829
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
