diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-24 12:17:39 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-24 12:17:39 +0200 |
commit | b4192a712e0dc89c138b659953e5d60beff8acd6 (patch) | |
tree | 7ea388ba9c73aae1aabf9766e0b9d42815a5a846 /dom/crypto/CryptoBuffer.h | |
parent | ac4fb68b0c7bf7c07af4cc59c87321cd04895405 (diff) | |
download | uxp-b4192a712e0dc89c138b659953e5d60beff8acd6.tar.gz |
Add size checks to WebGLContext::BufferData()
On MacOS, particularly large allocations within the platform limits
(1.2G+) will fail and crash. This adds a specific size check for that
when working around driver bugs (default).
While there, added a generic size_t limited size check for the
platform, and reporting OOM if too large.
Diffstat (limited to 'dom/crypto/CryptoBuffer.h')
0 files changed, 0 insertions, 0 deletions