summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueProducer.cpp
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2016-02-28 20:48:56 -0800
committer Jesse Hall <jessehall@google.com> 2016-02-28 20:48:56 -0800
commitc4eee83b6eb4b4ebc67ddda2c7119988ce654101 (patch)
treeaccf29286d6b991d440953ad2ea695c607d288e6 /libs/gui/BufferQueueProducer.cpp
parented9e142fb6874cd1d3cbeb655c700c9a0126ba5a (diff)
libvulkan: Enable integer sanitization
This causes the compiler to add runtime checks for undefined (e.g. shift by larger than bitwidth) or suspicious (e.g. unsigned integer overflow) operations. The process will abort if they occur. In particular, we do many allocations of the form pfnAllocation(n * sizeof(T)); if 'n' is large these will overflow and we'll allocate less memory than expected, possibly leading to exploitable buffer overruns. Requested during security audit in bug 27118888. Change-Id: Id81c94595579df034b948a40270f164e38635070
Diffstat (limited to 'libs/gui/BufferQueueProducer.cpp')
0 files changed, 0 insertions, 0 deletions