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] [thread-next>] [day] [month] [year] [list]
Message-ID: <48875.1330555230@turing-police.cc.vt.edu>
Date:	Wed, 29 Feb 2012 17:40:30 -0500
From:	Valdis.Kletnieks@...edu
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	Zhengwang Ruan <ruan.zhengwang@...il.com>, fweisbec@...il.com,
	mingo@...hat.com, linux-kernel@...r.kernel.org,
	kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] Trace: initialize variable to clear warning

On Tue, 28 Feb 2012 09:16:31 EST, Steven Rostedt said:

> This is a bug in gcc that's fixed in 4.6 and beyond. I don't want to
> remove this warning because it will hide a real bug if page2 really does
> become uninitialized. If 4.6 gives a warning here, then I'll fix it.

> > -	void *page2;
> > +	void *uninitialized_var(page2);

How would you feel about this?

-	void *page2;
+	void *page2; /* gcc 4.5 bug causes incorrect "uninitialized" warning */

or something similar?


Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ