mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: fix a potential assignment truncation issue
Truncation will happen when assining an association id over 256 to the u8 'aid' of struct wma_txrx_node. To avoid such issue, change the type of 'aid' in struct wma_txrx_node, from u8 to u16. CRs-Fixed: 2713427 Change-Id: If360c017700aadaf9f2d3216601a011704f68180
This commit is contained in:
parent
77e6603717
commit
7bb505608d
1 changed files with 1 additions and 1 deletions
|
|
@ -723,7 +723,7 @@ struct wma_txrx_node {
|
|||
bool vdev_active;
|
||||
uint64_t tsfadjust;
|
||||
tAddStaParams *addBssStaContext;
|
||||
uint8_t aid;
|
||||
uint16_t aid;
|
||||
uint8_t rmfEnabled;
|
||||
uint32_t uapsd_cached_val;
|
||||
void *del_staself_req;
|
||||
|
|
|
|||
Loading…
Reference in a new issue