summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorRajesh Kemisetti <rajeshk@codeaurora.org>2019-06-19 20:53:52 +0530
committerRajesh Kemisetti <rajeshk@codeaurora.org>2019-06-28 14:34:10 +0530
commit1379d11803ddf193b8be73c18a7533ef0b0bef33 (patch)
tree78362453d3586b4afb6f2a0a804a33d9ddae377c /include/linux/compiler-gcc.h
parentc94369b4c1fc531a4521dacdb6b08a70ea71fc1b (diff)
msm: kgsl: Add missing check for snapshot IB dump
During ringbuffer parsing, same IB can exist multiple times but size validation happens only for the first time. This leads to out of bound access if the subsequent sizes are greater than the allocated size. Add a check to make sure that requested size is within the allocated range. Change-Id: Ie5d3c02c1669de2e6188821399e985f0991aa57c Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions