Bug 10463: miInitIndex(): Conditional jump or move depends on uninitialised value(s) - Chris Wilson <chris@chris-wilson.co.uk> - 3/29/2007 Back to Bug | Your Reviews | Help
Attachment 9362: Intialize pixel to zero before AllocColor - Chris Wilson <chris@chris-wilson.co.uk> - 3/29/2007 (View )

Show Quick Help

From: Chris Wilson <chris@chris-wilson.co.uk>
Date: Thu, 29 Mar 2007 22:25:11 +0100
Subject: [PATCH] Intialize pixel to zero before AllocColor()
==14535== Conditional jump or move depends on uninitialised value(s)
==14535== at 0x806374C: FindColor (colormap.c:1226)
==14535== by 0x8065888: AllocColor (colormap.c:912)
==14535== by 0x831BFE0: miInitIndexed (miindex.c:153)
==14535== by 0x831170F: PictureInitIndexedFormats (picture.c:485)
==14535== by 0x8311781: PictureFinishInit (picture.c:502)
==14535== by 0x8318E98: RenderExtensionInit (render.c:248)
==14535== by 0x8061A74: InitExtensions (miinitext.c:646)
==14535== by 0x808180E: main (main.c:379)
==14535==
AllocColor() may use the incoming pixel value as a guide, so it must be
set to an appropiate value before calling.
<Overall Comment>
Powered by Splinter

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.