diff options
author | Richard Weinberger <richard@nod.at> | 2024-08-02 12:08:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-15 16:14:36 -0600 |
commit | 9b9368b5c4dc24b3b999743db26fb915981d26a9 (patch) | |
tree | 359bc26f3807ac4b26a3f74682754c8e3bd44246 /fs/ext4/ext4_write.c | |
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>
Diffstat (limited to 'fs/ext4/ext4_write.c')
0 files changed, 0 insertions, 0 deletions