On Thu, Feb 06, 2025 at 04:48:09PM +0300, Maks Mishin wrote: > Changing the order of actions: the input argument is checked before > memory is allocated. > > The input argument `n` is of type `size_t` and cannot take > negative values, so the comparison has been fixed. > > Signed-off-by: Maks Mishin <maks.mishi...@gmail.com> > --- > common/dlmalloc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
This introduces runtime failures: https://source.denx.de/u-boot/u-boot/-/jobs/1018726 -- Tom
signature.asc
Description: PGP signature