mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
Xext: panoramix: extra safety checks
Even though risk of being actually hit is minimal, better having some extra safety checks instead of segfaulting, just in case. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -1136,7 +1136,7 @@ PanoramiXCopyArea(ClientPtr client)
|
||||
}
|
||||
free(data);
|
||||
|
||||
if (pGC->graphicsExposures) {
|
||||
if (pGC && pGC->graphicsExposures) {
|
||||
RegionRec rgn;
|
||||
int dx, dy;
|
||||
BoxRec sourceBox;
|
||||
|
||||
Reference in New Issue
Block a user