[Bug 255491] null pointer dereference in ipfw.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 29 16:44:03 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255491
Bug ID: 255491
Summary: null pointer dereference in ipfw.c
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: haisheng.zhouz at hotmail.com
Created attachment 224536
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224536&action=edit
screenshots of Bug analysis
when i use the command #ipfw -t add allow tcp from any to any out
there is a "Segmentation fault(core dumped)"
In this commad "ipfw" and "-t"or"-T" and "add" is needed.
It is because lin 5362 of ipfw2.c
show_static_rule(&g_co, &sfo, &bp, rule, NULL); the last parameter is NULL
and then line 2195 in ipfw2.c
if (cntr->timestamp > 0) { //the "cntr" is NULL
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list