From: Stefan Sperling Subject: Re: gotwebd: don't use NULL pointer in *printf(3) calls To: Mark Jamsek Cc: gameoftrees@openbsd.org Date: Sun, 24 Nov 2024 14:09:58 +0100 On Sun, Nov 24, 2024 at 04:47:47PM +1100, Mark Jamsek wrote: > The below diff avoids some undefined behaviour where we pass a NULL > pointer to a series of printf(3) functions when the query string to > gotwebd does not contain a path parameter. This was found thanks to > a report from Mischa shared by stsp on IRC. ok by me