Hi,

As a follow up to part of the last entry in the closed Bugzilla...

https://bugs.freedesktop.org/show_bug.cgi?id=57448

I now use this patch...

--- ./Xext/save_xres.c  2012-11-05 21:11:15.070319535 +0000
+++ ./Xext/xres.c       2013-02-26 21:32:12.726008604 +0000
@@ -272,7 +272,7 @@
 {
     int *counts = (int *) cdata;

-    counts[(type & TypeMask) - 1]++;
+    if ((type & TypeMask) != RT_NONE) counts[(type & TypeMask) - 1]++;
 }

to avoid xrestop crashing the server...which has got to be a good thing?

Thanks,
Colin Harrison


_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to