]> code.ossystems Code Review - openembedded-core.git/commit
connman: fix crash with iptables 1.6
authorMaxin B. John <maxin.john@intel.com>
Thu, 28 Jan 2016 12:37:21 +0000 (14:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2016 18:14:57 +0000 (18:14 +0000)
commitae64dc3af8c49ef53ab3e847f7761cf5e59c5998
tree1393db9bc3811c6028f52b447d8f4f126e3fa323
parent499465f4edad0d9dc16b07b33522964e1c1d3e5d
connman: fix crash with iptables 1.6

The struct of xtables_globals has been modified in iptables 1.6.
If connman runs with iptables 1.6, it can crash.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11
0xb7deac1c in ?? () from /usr/lib/libxtables.so.11
0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11

The the missing function item of xtables is added to xtables_globals.
It can fix the above issue.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/connman/connman/0001-iptables-Add-missing-function-item-of-xtables-to-mat.patch [new file with mode: 0644]
meta/recipes-connectivity/connman/connman_1.31.bb