Commit 1b851e81 authored by Eric Anholt's avatar Eric Anholt

Don't forget to zero the xf86ModReqInfo before using it. Noticed by Alex

    Deucher.
parent 7d9999fa
2006-04-06 Eric Anholt <anholt@FreeBSD.org>
* src/sis_driver.c:
Don't forget to zero the xf86ModReqInfo before using it.
Noticed by Alex Deucher.
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
......
/* $XFree86$ */
/* $XdotOrg: driver/xf86-video-sis/src/sis_driver.c,v 1.71 2005/11/09 17:42:58 mhopf Exp $ */
/* $XdotOrg: driver/xf86-video-sis/src/sis_driver.c,v 1.72 2006/03/09 06:06:25 anholt Exp $ */
/*
* SiS driver main code
*
......@@ -6971,6 +6971,7 @@ SISPreInit(ScrnInfoPtr pScrn, int flags)
XF86ModReqInfo req;
int errmaj, errmin;
memset(&req, 0, sizeof(req));
req.majorversion = 2;
req.minorversion = 0;
if (!LoadSubModule(pScrn->module, "exa", NULL, NULL, NULL, &req,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment