[Bug 1418] segfaults when running nft --file foo.nft --echo

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Jul 28 20:29:40 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1418

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Pablo Neira Ayuso <pablo at netfilter.org> ---
(In reply to Patrick McLean from comment #1)
> Created attachment 590 [details]
> ruleset that triggers the segfault
> 
> OK, I seem to have figured out how to reproduce it reliably. I have some
> generated rule sets that I am loading, and they attempt to clean up after
> the last time they were loaded by adding then deleting the tables they
> create. The first time nft runs, everything works fine, the second time I
> get the strange output and a segfault.
> 
> So try running "nft --echo --file test.nft" *twice* and it will cause nft to
> to echo some strange data and segfault.

Patchset to address this problem has been posted:

https://patchwork.ozlabs.org/project/netfilter-devel/list/?series=192921

Thanks for reporting.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200728/71b88a20/attachment-0001.html>


More information about the netfilter-buglog mailing list