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-next>] [day] [month] [year] [list]
Message-Id: <200912200903.28002.mitov@issp.bas.bg>
Date:	Sun, 20 Dec 2009 09:03:27 +0200
From:	Marin Mitov <mitov@...p.bas.bg>
To:	David Airlie <airlied@...ux.ie>
Cc:	Jesse Barnes <jesse.barnes@...el.com>,
	dri-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: [PATCH]Silancing a false positive: "may be used uninitialized"

Hello all,

Silancing a false positive:
warning: 'width' may be used uninitialized in this function
drivers/gpu/drm/drm_edid.c

Signed-off-by: Marin Mitov <mitov@...p.bas.bg>
==========================================================================
--- a/drivers/gpu/drm/drm_edid.c	2009-12-20 07:43:57.000000000 +0200
+++ b/drivers/gpu/drm/drm_edid.c	2009-12-20 07:45:49.000000000 +0200
@@ -913,7 +913,7 @@
 	const int rates[] = { 60, 85, 75, 60, 50 };
 
 	for (i = 0; i < 4; i++) {
-		int width, height;
+		int uninitialized_var(width), height;
 		cvt = &(timing->data.other_data.data.cvt[i]);
 
 		height = (cvt->code[0] + ((cvt->code[1] & 0xf0) << 8) + 1) * 2;
--
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