From e437f357b6850a6c87ca6696870b3abd40e5b8ed Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 19 Dec 2006 16:38:34 -0800 Subject: [PATCH 1/2] xorg.conf man page should say "XFree86-DGA", not "Xorg-DGA" --- hw/xfree86/doc/man/xorg.conf.man.pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/doc/man/xorg.conf.man.pre b/hw/xfree86/doc/man/xorg.conf.man.pre index 8d52b2bcf..bbba21112 100644 --- a/hw/xfree86/doc/man/xorg.conf.man.pre +++ b/hw/xfree86/doc/man/xorg.conf.man.pre @@ -649,7 +649,7 @@ being that are passed to the module when it is loaded. .PP Example: the extmod module (which contains a miscellaneous group of -server extensions) can be loaded, with the __xservername__-DGA extension +server extensions) can be loaded, with the XFree86-DGA extension disabled by using the following entry: .PP .RS 4 From d9e079d2a385203fdd18d958cfc19d759cab4ba8 Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Fri, 22 Dec 2006 13:07:09 -0500 Subject: [PATCH 2/2] Zero out client devPrivates on allocation. --- dix/dispatch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dix/dispatch.c b/dix/dispatch.c index 51ad07da5..d44687ec3 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -3752,6 +3752,8 @@ InitClientPrivates(ClientPtr client) client->devPrivates = ppriv; sizes = clientPrivateSizes; ptr = (char *)(ppriv + clientPrivateLen); + if (ppriv) + bzero(ppriv, totalClientSize - sizeof(ClientRec)); for (i = clientPrivateLen; --i >= 0; ppriv++, sizes++) { if ( (size = *sizes) )