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

From:
"Todd C. Miller" <Todd.Miller@sudo.ws>
Subject:
Re: Only use string literals as format strings for dprintf()
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Thu, 10 Sep 2020 13:15:35 -0600

Download raw body.

Thread
On Thu, 10 Sep 2020 20:29:15 +0200, Christian Weisgerber wrote:

> Only use string literals as format strings for dprintf().

I don't understand why this doesn't just use write(2).

Perhaps it originally used dprintf() but was converted to asprintf()
and the dprintf() just never got converted to a write()?

 - todd