commit | 25c5843ad5762d0ccaab03f3c516035cd48d21d1 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Fri Aug 02 12:08:46 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 15 16:14:36 2024 -0600 |
tree | 359bc26f3807ac4b26a3f74682754c8e3bd44246 | |
parent | b6c32c59749812d035c2b96815a3c653724d22c4 [diff] |
dlmalloc: Make sure allocation size is within malloc area Since U-Boot does not support memory overcommit we can enforce that the allocation size is within the malloc area. This is a simple and efficient hardening measure to mitigate further integer overflows in dlmalloc. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Simon Glass <sjg@chromium.org>