mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
Otherwise on 32-bit platforms, creation of a buffer bigger than the max size_t would overflow the check and no OOM would be produced. Bug: chromium:1099621 Change-Id: I987a338b150d10c0eabc3eb5fb3b815a5c2a5ca2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23960 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org>