From: Willy Tarreau <w@1wt.eu>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: "Thomas Weißschuh" <linux@weissschuh.net>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tools/nolibc: handle NULL wstatus arugment to waitpid()
Date: Sat, 27 Sep 2025 11:45:54 +0200 [thread overview]
Message-ID: <20250927094554.GA25134@1wt.eu> (raw)
In-Reply-To: <20250926-nolibc-waitpid-nullable-v1-1-4e90500f6ffa@linutronix.de>
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@linutronix.de>
Good catch Thomas!
Acked-by: Willy Tarreau <w@1wt.eu>
Willy
prev parent reply other threads:[~2025-09-27 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-26 14:26 [PATCH] tools/nolibc: handle NULL wstatus arugment to waitpid() Thomas Weißschuh
2025-09-27 9:45 ` Willy Tarreau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250927094554.GA25134@1wt.eu \
--to=w@1wt.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@weissschuh.net \
--cc=thomas.weissschuh@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox