lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070331140432.GS14134@stusta.de>
Date:	Sat, 31 Mar 2007 16:04:32 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Toralf Förster <toralf.foerster@....de>
Cc:	Kyle Moffett <mrmacman_g4@....com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Jiri Kosina <jikos@...os.cz>,
	Lee Revell <rlrevell@...-job.com>, andrea@...e.de,
	viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org
Subject: Re: fs/block_dev.c:953: warning: 'found' might be used uninitialized in this function

On Sat, Mar 31, 2007 at 10:11:27AM +0200, Toralf Förster wrote:
> Am Freitag, 30. März 2007 21:47 schrieb Adrian Bunk:
> > 
> > 
> > No, the code is correct and it's impossible that the variable ever gets 
> > read uninitialized.
> > 
> > And BTW, i386 gcc 4.1 doesn't give me a warning for this.
> > Toralf, which gcc version and architecture did you see this with?
> 
> > cu
> > Adrian
> > 
> 
> Hi, I use currently the following version:
> 
> gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)

For finding warnings it's better to use the latest gcc version - gcc is 
evalving, and more recent versions tend to both give more valid warnings 
and give less warnings for non-problems (like in this case).

> MfG/Sincerely
> 
> Toralf Förster

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ