diff options
| author | Yeshwanth Sriram Guntuka <ysriramg@codeaurora.org> | 2018-07-18 15:55:47 +0530 |
|---|---|---|
| committer | Miguel de Dios <migueldedios@google.com> | 2019-01-10 19:36:20 +0000 |
| commit | 761f350153108ee01b96a180fd8b6b2714ce8e1b (patch) | |
| tree | e8c57d5260bcd4677fb8a7de29cfbf5cbf067bae /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | fc76f1627653d60dac27fbc28967fb821b383e5a (diff) | |
qcacld-2.0: Possible buffer overflow in wma_stats_ext_event_handler
Check for stats ext info data len does not take TLV header
size into account which could lead to buffer overflow
when copying data where TLV header size is taken into
account.
Fix is to subtract TLV header size and stats_ext_info
size from max allowed size when validating stats ext
info data length.
Bug: 111128838
Change-Id: I34e35a0aab396af3d93a0f61e0ab6a2da09f22ab
CRs-Fixed: 2280404
Signed-off-by: Roger Wang <wangroger@google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
