diff options
| author | Richard Weinberger <[email protected]> | 2024-08-02 12:08:46 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-15 16:14:36 -0600 |
| commit | 9b9368b5c4dc24b3b999743db26fb915981d26a9 (patch) | |
| tree | 359bc26f3807ac4b26a3f74682754c8e3bd44246 /include/linux/string.h | |
| 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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
