Date: Thu, 29 Apr 2021 16:44:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255491] null pointer dereference in ipfw.c Message-ID: <bug-255491-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: haisheng.zhouz@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255491-227>
