diff options
| author | Abhinav Kumar <abhikuma@codeaurora.org> | 2018-05-02 11:44:17 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-05-04 00:17:57 -0700 |
| commit | a0585823d4912fbbcb72af772bdbc57d974506d4 (patch) | |
| tree | 1e5fb90603816f64d8bb2acdeeccc4b374591cb3 /scripts/stackusage | |
| parent | 3c92fe94b266a8523db505dfb22f4c65d6bbb706 (diff) | |
qcacld-3.0: Modify type of variable used to store FILS Wrapped Data
Currently lim_create_fils_auth_data calls lim_create_fils_wrapper_data
to calculate length of the created wrapped data and stores it in an
unsigned variable wrapped_data_len. But return type of
lim_create_fils_wrapper_data is int so it could return negative value.
Less-than-zero comparison present in lim_create_fils_auth_data of an
unsigned value is never true, as unsigned value can never be less than 0.
Results lim_create_fils_auth_data returns improper 'fils auth data' which
used to be send in auth req.
To make 'less-than-zero comparison' effective in lim_create_fils_auth_data
change type of wrapped_data_len from unsigned int to signed int.
Change-Id: I66d872b76b2039179e3f3dd0ccbb6c135174e354
CRs-Fixed: 2233113
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
