diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-07-30 13:56:15 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-30 13:56:15 +0000 |
commit | 6f1c597f2aef128e35a78717a998fed7567ade2c (patch) | |
tree | 68162a4d27d8cedb07e16eead3f747937eedb85d /extensions | |
parent | 18992db3bfdb3b695cae12b53434f560cbf8e2ae (diff) |
The option struct needs to be terminated, otherwise ip{,6}tables
will access illegal memory in merge_options().
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libip6t_NFLOG.c | 1 | ||||
-rw-r--r-- | extensions/libipt_NFLOG.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/extensions/libip6t_NFLOG.c b/extensions/libip6t_NFLOG.c index 9f4ebaa5..22c99e90 100644 --- a/extensions/libip6t_NFLOG.c +++ b/extensions/libip6t_NFLOG.c @@ -19,6 +19,7 @@ static struct option opts[] = { { "nflog-prefix", 1, 0, NFLOG_PREFIX }, { "nflog-range", 1, 0, NFLOG_RANGE }, { "nflog-threshold", 1, 0, NFLOG_THRESHOLD }, + {NULL}, }; static void help(void) diff --git a/extensions/libipt_NFLOG.c b/extensions/libipt_NFLOG.c index b43a8b87..37df5b0d 100644 --- a/extensions/libipt_NFLOG.c +++ b/extensions/libipt_NFLOG.c @@ -19,6 +19,7 @@ static struct option opts[] = { { "nflog-prefix", 1, 0, NFLOG_PREFIX }, { "nflog-range", 1, 0, NFLOG_RANGE }, { "nflog-threshold", 1, 0, NFLOG_THRESHOLD }, + {NULL}, }; static void help(void) |