Re: [libnftnl PATCH] utils: nft_fprintf: prevent an empty buffer from being printed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 12, 2014 at 09:41:25PM +0200, Arturo Borrero Gonzalez wrote:
> If the snprintf_cb() printed 0 characters, no \0 exists in the buffer.
> Also, in that case fprintf() is meant to print nothing, so we can just exit.
> 
> This patch addresses new cases of textual output by libnftnl with trash.

Also applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux