Re: [PATCH 4/5 v4] netfilter: Fix format string of nfnetlink_queue proc file
From: Pablo Neira Ayuso
Date: Mon Apr 13 2015 - 14:39:24 EST
On Mon, Apr 13, 2015 at 12:52:38AM +0200, Richard Weinberger wrote:
> The printed values are all of type unsigned integer, therefore use
> %u instead of %d. Otherwise an user can face negative values.
>
> Fixes:
> $ cat /proc/net/netfilter/nfnetlink_queue
> 0 29508 278 2 65531 0 2004213241 -2129885586 1
> 1 -27747 0 2 65531 0 0 0 1
> 2 -27748 0 2 65531 0 0 0 1
>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>
Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/