search for: nullpixmap

Displaying 4 results from an estimated 4 matches for "nullpixmap".

Did you mean: nullbitmap
2020 Jul 31
0
X.Org security advisory: July 31, 2020: Xserver
...sktop.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 discovered by Jan-Niklas Sohn working with Trend Micro Zero Day Initiat...
2016 Apr 07
0
[ANNOUNCE] xf86-video-ati 7.7.0
..." Bump version for 7.7.0 release Mykola Lysenko (1): Initialize drmmode_crtc dpms_mode to DPMSModeOff Ryan Kennedy (1): Use correct tiling in drmmode_create_bo_pixmap jimqu (2): Move radeon_glamor_destroy_pixmap before radeon_glamor_create_pixmap glamor: Return NullPixmap on failure to create shareable pixmap git tag: xf86-video-ati-7.7.0 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-7.7.0.tar.bz2 MD5: 59bfe0feba875c5cd28b03766aaa3b98 xf86-video-ati-7.7.0.tar.bz2 SHA1: 75621e6d41d0958d95dcd9b742bff3b81e853f8f xf86-video-ati-7.7.0.tar.bz2...
2016 Apr 07
0
[ANNOUNCE] xf86-video-amdgpu 1.1.0
...kola Lysenko (2): Check for NULL koutput in drmmode_output_dpms Initialize drmmode_crtc dpms_mode to DPMSModeOff Tom St Denis (1): Move memset() after variable declarations jimqu (2): Move amdgpu_glamor_destroy_pixmap before amdgpu_glamor_create_pixmap glamor: Return NullPixmap on failure to create shareable pixmap git tag: xf86-video-amdgpu-1.1.0 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.1.0.tar.bz2 MD5: 89e62ee60b12f94e27ab76268bbbe778 xf86-video-amdgpu-1.1.0.tar.bz2 SHA1: a3dad4e44feca55acb7dd03e094ebc10796475ca xf86-video-amdgpu-1....
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...+ + PixmapPtr dst = NULL; + int ret; + struct nouveau_bo *bo_dst = NULL; + + ret = nouveau_bo_prime_handle_ref(pNv->dev, fd, &bo_dst); + ErrorF("ret = %i for buffer %i\n", ret, fd); + assert(!ret); + + dst = pScreen->CreatePixmap(pScreen, 0, 0, pScrn->depth, 0); + if (dst == NullPixmap) + goto cleanup_bo; + + pScreen->ModifyPixmapHeader(dst, pScrn->virtualX, pScrn->virtualY, pScrn->depth, pScrn->depth, + pScrn->virtualX, NULL); + nouveau_bo_ref(bo_dst, &nouveau_pixmap(dst)->bo); + + ret = exa->PrepareCopy (src, dst, 0, 0, GXcopy, FB_ALLONES); +...