aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRobb Glasser <rglasser@google.com>2017-02-14 13:25:46 -0800
committerRichard Chang <dickchang@google.com>2017-04-24 20:07:34 +0000
commit153ab36ed08410ebcfd0965b86a09630faba886d (patch)
treec9af77124a7fccba49cb11f949915e9c2f5ad529 /tools/perf/scripts/python/event_analyzing_sample.py
parent565101c27ea7d1067752cdb6475e8002a80e5454 (diff)
Prevent heap overflow in uvc driver
The size of uvc_control_mapping is user controlled leading to a potential heap overflow in the uvc driver. This adds a check to verify the user provided size fits within the bounds of the defined buffer size. Bug: 33300353 Change-Id: If29c1b396633b6137966a12e38f6fd1841b045bd Signed-off-by: Robb Glasser <rglasser@google.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions