diff options
author | Florian Westphal <fw@strlen.de> | 2012-05-10 05:42:47 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-14 10:40:25 +0200 |
commit | cb999dfdaf25d5a774d2ee84cb99355438d57c93 (patch) | |
tree | 89ae73d30bfc2f7be29c9e19dad5ce8719574442 /extensions/libxt_quota.c | |
parent | 6111382a6c27e73c1cef1777c1253be0453a9dbb (diff) |
ip(6)tables-restore: make sure argv is NULL terminated
Else, argv[argc] may point to free'd memory.
Some extensions, e.g. rateest, may fail to parse valid input
because argv[optind] (with optind == argc) is not NULL.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_quota.c')
0 files changed, 0 insertions, 0 deletions