Re: [PATCH nft] src: osf: fix snprintf -Wformat-truncation warning

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

 



Hi,

On Sun, Jul 21, 2019 at 11:59:14AM +0200, Fernando Fernandez Mancera wrote:
[...]
> I think your code is more readable than mine. I am going to send a v2
> patch with your code but also adding the following fix.
> 
> -	while (tmp && tmp + 1 && isspace(*(tmp + 1)))
> +	while (tmp && isspace(*(tmp + 1)))
> 
> I am going to send a similar patch for the iptables tree because this
> file was imported from iptables.git/utils/nfnl_osf.c.

Sounds great, thanks a lot!

Cheers, Phil



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux