diff options
| author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-09-12 22:05:52 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-06-08 16:16:09 +0000 |
| commit | 5c2f31d8d6e5f24962300f4608a0d6f887ca3bea (patch) | |
| tree | 8cda54b5306e2d4c527e71fec3fd16a149a7acc2 /tests/cpp-compile-test.cpp | |
| parent | cursor: Gracefully handle out of memory condition (diff) | |
| download | wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.tar wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.tar.gz wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.tar.bz2 wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.tar.lz wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.tar.xz wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.tar.zst wayland-5c2f31d8d6e5f24962300f4608a0d6f887ca3bea.zip | |
cursor: Gracefully handle huge cursor files
If cursor files require more than INT_MAX bytes, it is possible to
trigger out of boundary writes.
Since these sizes are most likely not desired anyway, gracefully
handle these situations like out of memory errors.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
