commit | f53b78e423d82b0c71c076480f52edeb5eaec5f8 | [log] [tgz] |
---|---|---|
author | Phil Oester <kernel@linuxace.com> | Thu Jan 23 22:06:58 2014 -0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jan 29 20:16:08 2014 +0100 |
tree | fe9ef0007cef1af50cb1c95d57cf72a9a9f7a088 | |
parent | a0e224be48300b308a02f7bf898f0838463a7305 [diff] |
iptables-xml: fix segfault if missing space after -A As pointed out by Bernhard Reutner-Fischer, a malformed line fed to iptables-xml such as the below with a missing space after the -A: -APOSTROUTING -d 1.1.1.1/32 -p tcp -j MASQUERADE causes a segfault. Patch attached. This closes netfilter bugzilla #886. Signed-off-by: Phil Oester <kernel@linuxace.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>