mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-07 20:37:13 +00:00
If the size to be allocated is very large and untrusted, then adding the padding etc. might be enough to cause unsigned overflow, after which a very small amount of memory will be allocated. Signed-off-by: Simon McVittie <smcv@collabora.com>