mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-21 00:01:07 +01: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>