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

Maxim Konovalov maxim at macomnet.ru
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 macomnet.ru>
To: Gleb Smirnoff <glebius at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: bin/71485: function list() in ipfw2 uses an uninitialized variable
 'last'
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
 4.10-STABLE
 
 -- 
 Maxim Konovalov


More information about the freebsd-bugs mailing list