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) ) 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