summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorVishwath Mohan <vishwath@google.com>2015-03-09 18:55:11 -0700
committerVishwath Mohan <vishwath@google.com>2015-03-10 12:34:08 -0700
commit6a2c23dc1bb17b3a2819a33dc6af77b293de1aae (patch)
treee4dc3e714d835e93dce3c34f1a487f9ec490db9f /libs/hwui/renderthread/DrawFrameTask.cpp
parent53776a2b3c18f3eb2217e5e3af4dda187d0fee62 (diff)
Prevent integer overflow in ResourceTypes
Adds checks to 2 malloc() calls to ensure that the finally allocated buffer size is not vulnerable to integer overflows. Also includes a sanity check on the upper bound for type_info.numEntries before each call. Bug: 15171384 Change-Id: Ifdf0276bcca7e3d93da7c3577b9486d3c03a9d03
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions