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
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
---
common/dlmalloc.c | 4 ++--
1 file changed, 2 insertions(+), 2
2 matches
Mail list logo