"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
"Todd C. Miller" <Todd.Miller@sudo.ws>
Subject:
Re: Minor memory leak in dial_git()
To:
Stefan Sperling <stsp@stsp.name>
Cc:
Christian Weisgerber <naddy@mips.inka.de>, gameoftrees@openbsd.org
Date:
Sun, 30 May 2021 07:45:00 -0600

Download raw body.

Thread
On Sun, 30 May 2021 09:20:57 +0200, Stefan Sperling wrote:

> dprintf's error indicator is defined as "less than 0" in the man page.
> Should we check for r < 0 instead of r == -1?

Yes, unfortunately the check should be r < 0.  Stupid standards...

 - todd