Re: [PATCH 4/4] dlmalloc: Make sure allocation size is within malloc area

2024-08-06 Thread Simon Glass
Hi Richard, On Fri, 2 Aug 2024 at 04:08, Richard Weinberger wrote: > > 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. > > S

[PATCH 4/4] dlmalloc: Make sure allocation size is within malloc area

2024-08-02 Thread Richard Weinberger
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 --- common/dlmalloc.c | 9 ++--- 1 file cha