[Bug 212649] ipfw(8): Referencing a table in the ruleset causes ipfw list/show to crash with SIGSEGV.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 13 11:24:44 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212649

            Bug ID: 212649
           Summary: ipfw(8): Referencing a table in the ruleset causes
                    ipfw list/show to crash with SIGSEGV.
           Product: Base System
           Version: 11.0-RC1
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: crest at bultmann.eu

How to reproduce:

    ipfw table foo create
    ipfw add count all from any to "table(foo)"
    ipfw list



Expected result:

A count rule is added to the IPFW rules and `ipfw list` should print all rules
to stdout.



Actual result:

A count rule is added to the IPFW rules and `ipfw list` prints all rules up the
first one using a table. The ipfw tool crashes in print_ip() dereferencing a
NULL pointer on the first rule containing a table as destination.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list