]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxt_quota: make sure uint64 is not truncated
authorJP Abgrall <jpa@google.com>
Thu, 19 May 2011 03:26:14 +0000 (20:26 -0700)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 20 May 2011 14:08:27 +0000 (16:08 +0200)
commit2305d5fb42fc059f38fc1bdf53411dbeecdb310b
tree533581021a3f92c391af249cb28a59ed29ea51c2
parent67db7615580f5c3490a39310f5adcb4e767ea6a8
libxt_quota: make sure uint64 is not truncated

The xtables_strtoul() would cram a long long into a long.
The parse_int would try to cram a UINT64 into a long.
include/xtables.h.in
xtables.c
xtoptions.c