Displaying 2 results from an estimated 2 matches for "totalpixmapsize".
2020 Jul 31
0
X.Org security advisory: July 31, 2020: Xserver
...eleased shortly and will
include this patch.
https://gitlab.freedesktop.org/xorg/xserver.git
diff --git a/dix/pixmap.c b/dix/pixmap.c
index 1186d7dbb..5a0146bbb 100644
--- a/dix/pixmap.c
+++ b/dix/pixmap.c
@@ -116,7 +116,7 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
     if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize)
         return NullPixmap;
 
-    pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize);
+    pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
     if (!pPixmap)
         return NullPixmap;
    
Thanks
======
This vulnerability was discovere...
2010 Jun 08
8
[Bug 28449] New: I messed up and now nouveau doesn't work.
...t's stopped working.  [I also have
upgraded pixman, xf86-input-*, mesa, xcb/libxcb, xf86-video-nouveau, drm, and
various proto's].   
When I run startx, on the console I see:
(EE) NOUVEAU(0): Output position loop. Moving VGA-1 to 0,0
X: pixmap.c:118: AllocatePixmap: Assertion `pScreen->totalPixmapSize > 0'
failed.
xinit: giving up
(I'll upload my xorg.conf file and Xorg.0.log files)
This is my main machine, and need this fixed urgently.
-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assign...