commit | 9b9368b5c4dc24b3b999743db26fb915981d26a9 | [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 | 0a10b49206a29b4aa2f80233a3e53ca0466bb0b3 [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>