Commit 2a7948016a637136b5cb2d2d00494db653a8261f

Simon McVittie 2022-05-09T14:58:51

cpuinfo: Check for overflow in SIMD allocation 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>