[Openchrome-devel] Use of uninitialized variable
Jan Engelhardt
jengelh
Thu Feb 5 08:46:15 PST 2009
Also in the latest svn snapshot, there is use of an uninitialized
variable. The flow is illustrated below:
@@ via_driver.c @@
static Bool
VIAPreInit(ScrnInfoPtr pScrn, int flags)
{
...
vgaHWPtr hwp;
...
switch (pVia->Chipset) {
default:
if (pScrn->videoRam < 16384 || pScrn->videoRam > 65536) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Using old memory-detection method.\n");
bMemSize = hwp->readSeq(hwp, 0x39);
^^^
More information about the Openchrome-devel
mailing list