Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 11:24:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212649] ipfw(8): Referencing a table in the ruleset causes ipfw list/show to crash with SIGSEGV.
Message-ID:  <bug-212649-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212649

            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@FreeBSD.org
          Reporter: crest@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 ru=
les
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212649-8>