diff options
| author | Shahar S Matityahu <[email protected]> | 2019-01-17 09:57:27 +0200 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2019-02-14 11:29:51 +0200 |
| commit | 21587a9b0a48bf8922e875b54edcc5a8a9a8b19f (patch) | |
| tree | 8275c77d09b14998b0e92a28bde74e2a49d2cfb5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | a197e6d10ce26bdf4e7b8941321fb924b38ece02 (diff) | |
iwlwifi: dbg: buffer overflow in non_collect_ts_start array
The size of the buffer is IWL_FW_TRIGGER_ID_NUM - 1 which is equal to
IWL_FW_TRIGGER_ID_HOST_CHANNEL_SWITCH_COMPLETE so if the driver receives
this trigger, it will cause a buffer overflow.
Solve this by increasing the buffer size by 1.
Signed-off-by: Shahar S Matityahu <[email protected]>
Fixes: fe1b7d6c2888 ("iwlwifi: add support for triggering ini triggers")
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions