diff options
| author | Zhen Kong <zkong@codeaurora.org> | 2017-03-20 10:51:32 -0700 |
|---|---|---|
| committer | Zhen Kong <zkong@codeaurora.org> | 2017-03-21 09:55:54 -0700 |
| commit | 9f290f6e7955181262e0a32e871dd9010124c1f1 (patch) | |
| tree | e2b6d214b45e2ba89f21b4da9f17857a41974eec /tools/perf/util/trace-event-scripting.c | |
| parent | 3f942f9f968e02b8dbaa9a76f1d095aebe7b3b15 (diff) | |
qseecom: check img_len and mdt_len against ion buf len
Variable "load_img_req.img_len" and "load_img_req.mdt_len" are
from user land, so check their values against ion buf length
to avoid buffer overread on QSEE side.
Change-Id: I9e8bfe32d3b0cd5b441ad724543c56467fa5e4da
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
