diff options
| author | Pragaspathi Thilagaraj <tpragasp@codeaurora.org> | 2018-04-30 12:44:14 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-04 02:48:00 -0700 |
| commit | 80ab8833c05a9ac956aec7567cb81f802fb5920b (patch) | |
| tree | 5352926c9456459dc5bbcde930d673fa4d754330 /tools/perf/scripts/python | |
| parent | d31c1001e4139f208cde6e8f03a60e7669c17114 (diff) | |
qcacld-3.0: Fix integer truncation in convert_wsc_opaque
In the function convert_wsc_opaque, driver does copy of the
new parameters present in the additional IEs of the upstream
assoc request frame. While copy of the IE length pOld->length to
curAddIELen, possible integer truncation could occur, as the
curAddIELen is of the type uint8_t whereas pOld->length is of
type uint16_t.
Change the data type of curAddIELen to uint16_t. Make changes in
convert_p2p_opaque and convert_wfd_opaque as well.
Change-Id: Ic26660fca4a02a265bfc9553b066c7ee42f1d1f4
CRs-Fixed: 2231770
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
