On Sat, 12 Mar 2022 08:26:01 +0000
Nia Alarie <n...@netbsd.org> wrote:

> Module Name:  src
> Committed By: nia
> Date:         Sat Mar 12 08:26:01 UTC 2022
> 
> Modified Files:
>       src/lib/libc/stdlib: hcreate.c
> 
> Log Message:
> hcreate(3): use reallocarr instead of malloc(x * y)

Caution: malloc(0) and reallocarr(&p, 0, s) have different semantics
for the returned pointer value.

Reply via email to