Date: Sun, 04 May 2003 18:17:22 +0300 From: Vasil@sinanica.lg2a.datamax, Dimov@sinanica.lg2a.datamax To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/51750: ipfw2.c typos Message-ID: <1052061442.037828.40907.nullmailer@sinanica.lg2a.datamax> Resent-Message-ID: <200305041520.h44FKBFs068649@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51750 >Category: bin >Synopsis: ipfw2.c typos >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 04 08:20:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 5.0-CURRENT i386 >Organization: DataMax >Environment: System: FreeBSD sinanica.lg2a.datamax 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Apr 30 17:25:36 EEST 2003 root@sinanica.lg2a.datamax:/usr/src/sys/i386/compile/SINANICA i386 >Description: When outputting errors, in some cases ipfw tries to print av instead of *av, which causes 4 (sizeof(char *)) "random" bytes to be printed. Does not crash, because av ends with '\0'. After this fix, "WARNS?=0" in the Makefile is no longer needed. >How-To-Repeat: ipfw add 100 allow ip from any to any proto foo ipfw add allow proto boo >Fix: cd /usr/src/sbin/ipfw cat /tmp/ipfw2.c.patch |patch make && make install >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052061442.037828.40907.nullmailer>