bin/71485: function list() in ipfw2 uses an uninitializedvariable 'last'

Maxim Konovalov maxim at
Wed Sep 8 04:10:34 PDT 2004

The following reply was made to PR bin/71485; it has been noted by GNATS.

From: Maxim Konovalov <maxim at>
To: Gleb Smirnoff <glebius at>
Cc: bug-followup at
Subject: Re: bin/71485: function list() in ipfw2 uses an uninitialized variable
Date: Wed, 8 Sep 2004 15:02:45 +0400 (MSD)

 $ cvs -Q co -rRELENG_4_10_0_RELEASE ipfw
 $ cd ipfw
 $ make -DIPFW2
 Warning: Object directory not changed from original /vol0/home/maxim/ipfw
 cc -O -pipe  -Wall -DIPFW2    -c ipfw2.c
 ipfw2.c: In function `list':
 ipfw2.c:1681: warning: `last' might be used uninitialized in this function
 cc -O -pipe  -Wall -DIPFW2     -o ipfw ipfw2.o
 gzip -cn ipfw.8 > ipfw.8.gz
 $ uname -r
 Maxim Konovalov

More information about the freebsd-bugs mailing list