Blame SOURCES/0001-animcur-Nerf-AnumCurTimerNotify-when-pScreen-NULL.patch

a6e7ea
From 2e54bfc16230a77a6dd1083f9263b0dfe8189a6c Mon Sep 17 00:00:00 2001
a6e7ea
From: Adam Jackson <ajax@redhat.com>
a6e7ea
Date: Wed, 17 Jun 2020 15:16:20 -0400
a6e7ea
Subject: [PATCH xserver] animcur: Nerf AnumCurTimerNotify when pScreen == NULL
a6e7ea
a6e7ea
This is a terrible band-aid, but maybe it works.
a6e7ea
---
a6e7ea
 render/animcur.c | 4 ++++
a6e7ea
 1 file changed, 4 insertions(+)
a6e7ea
a6e7ea
diff --git a/render/animcur.c b/render/animcur.c
a6e7ea
index ef27bda278..44d40c23cd 100644
a6e7ea
--- a/render/animcur.c
a6e7ea
+++ b/render/animcur.c
a6e7ea
@@ -131,6 +131,10 @@ AnimCurTimerNotify(OsTimerPtr timer, CARD32 now, void *arg)
a6e7ea
 {
a6e7ea
     DeviceIntPtr dev = arg;
a6e7ea
     ScreenPtr pScreen = dev->spriteInfo->anim.pScreen;
a6e7ea
+
a6e7ea
+    if (!pScreen)
a6e7ea
+        return 0; /* aieee */
a6e7ea
+
a6e7ea
     AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
a6e7ea
 
a6e7ea
     AnimCurPtr ac = GetAnimCur(dev->spriteInfo->sprite->current);
a6e7ea
-- 
a6e7ea
2.23.0
a6e7ea