Re: [hackers] [sbase][PATCH] printf: handle \0 in %b arguments

From: Laslo Hunhold <dev_AT_frign.de>
Date: Tue, 27 Dec 2016 13:26:11 +0100

On Mon, 24 Oct 2016 08:16:25 -0700
Evan Gates <evan.gates_AT_gmail.com> wrote:

Hey Evan,

> The %b case was using fputs after unescape to print the argument,
> which meant that it could not handle nul bytes. Instead, store the
> length returned from unescape and use fwrite to properly handle them.

nice find! Applied, thanks!

Cheers

Laslo

-- 
Laslo Hunhold <dev_AT_frign.de>
Received on Tue Dec 27 2016 - 13:26:11 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 27 2016 - 15:15:23 CET