Re: [PATCH] tools/nolibc: handle NULL wstatus arugment to waitpid()
From: Willy Tarreau
Date: Sat Sep 27 2025 - 05:46:02 EST
On Fri, Sep 26, 2025 at 04:26:58PM +0200, Thomas Weißschuh wrote:
> wstatus is allowed to be NULL. Avoid a segmentation fault in this case.
>
> Fixes: 0c89abf5ab3f ("tools/nolibc: implement waitpid() in terms of waitid()")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Good catch Thomas!
Acked-by: Willy Tarreau <w@xxxxxx>
Willy