summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRahul Sharma <sharah@codeaurora.org>2017-07-07 14:11:37 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-19 23:22:51 -0700
commit22ec4f53992829bd2e951242e7b03a7262b103f6 (patch)
treea16b4b5abe528b49fa027391e1d0e22301cc144a /tools/perf/scripts/python/export-to-postgresql.py
parent8a9f65f16a3a22c4f391a80a9e48181732c0a723 (diff)
msm: ais: cpp changes to validate ioctl input
When the Camera application exercises the V4L2 ioctl operations, CPP driver would attempt to the copy user space buffer contents into the internal kernel buffer. If an invalid length of the user space buffer is passed onto the driver, it could trigger buffer overflow condition. Thus, fix this by copying user space buffer contents into kernel space buffer of the driver for further processing, only after checking for proper length of user space buffer. Change-Id: I0386d0f84a8d7015bfe6bbb1e9472fa8934df83a CRs-Fixed: 2025367 Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions