summaryrefslogtreecommitdiffstats
path: root/iptables/nft-ipv6.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-10-07 18:29:07 +0200
committerPhil Sutter <phil@nwl.cc>2022-10-07 23:03:42 +0200
commit97bf4e68fc0794adba3243fd96f40f4568e7216f (patch)
treea418bb94933cd2e17119892f1d17e4f8eaf25857 /iptables/nft-ipv6.c
parent28c7bf020e9b1dcf94bd3162ce9c354c06bb6f97 (diff)
libiptc: Fix for segfault when renaming a chain
This is an odd bug: If the number of chains is right and one renames the last one in the list, libiptc dereferences a NULL pointer. Add fix and test case for it. Fixes: 64ff47cde38e4 ("libiptc: fix chain rename bug in libiptc") Reported-by: Julien Castets <castets.j@gmail.com> Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-ipv6.c')
0 files changed, 0 insertions, 0 deletions