diff options
| author | Colin Ian King <[email protected]> | 2018-09-27 13:17:49 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-28 14:30:52 +0200 |
| commit | 8f6b8ed3b02e3202b062a0d786c1c623f64cad63 (patch) | |
| tree | 63c045d16cf477c35a2569f72090a6a6f69608ad /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 96e47e30c0bce708b975af6e0fca4a6eaed5ee75 (diff) | |
staging: wilc1000: fix incorrect allocation size for structure
Currently the allocation for str_vals is for the sizeof the pointer
rather than the size of the structure. Fix this.
Detected by smatch
"wilc_wlan_cfg_init() error: not allocating enough data 392 vs 8"
Fixes: acceb12a9f8b ("staging: wilc1000: refactor code to avoid static variables for config parameters")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions