]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: Fix potential array overrun in xtables_option_parse()
authorPhil Sutter <phil@nwl.cc>
Mon, 10 Sep 2018 21:35:13 +0000 (23:35 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 13 Sep 2018 08:47:42 +0000 (10:47 +0200)
commit4144571f87c094471419ef59e8bb89ef33cd1365
tree78f5050c80dddea7339ddf5a570b8640c96a8922
parent9242b5d9341434a5ae1491f64802df6926340d20
libxtables: Fix potential array overrun in xtables_option_parse()

If entry->type is to be used as array index, it needs to be at max one
less than that array's size.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
libxtables/xtoptions.c