xserver: Branch 'xorg-server-1.6-apple'
George Peter Staplin
gstaplin at kemper.freedesktop.org
Sat Feb 21 21:39:17 PST 2009
hw/xquartz/GL/indirect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d3120241f9f48d21f9a6ecfb848434a4a0270855
Author: George Staplin <gstaplin at apple.com>
Date: Sat Feb 21 22:33:10 2009 -0700
XQuartz: GL: Change from xalloc to xcalloc to potentially avoid
uninitialized data in the __GLXAquaContext.
diff --git a/hw/xquartz/GL/indirect.c b/hw/xquartz/GL/indirect.c
index e71516a..9b54b0c 100644
--- a/hw/xquartz/GL/indirect.c
+++ b/hw/xquartz/GL/indirect.c
@@ -167,7 +167,7 @@ __glXAquaScreenCreateContext(__GLXscreen *screen,
GLAQUA_DEBUG_MSG("glXAquaScreenCreateContext\n");
- context = xalloc (sizeof (__GLXAquaContext));
+ context = xcalloc(1, sizeof (__GLXAquaContext));
if (context == NULL)
return NULL;
More information about the xorg-commit
mailing list