Package: xfree86
Version: 4.3.0.dfsg.1-10+SVN
Author: Guillem Jover <guillem@hadrons.org>
Status: applied
Debbug: 294320
Description:
 Check for FS_Error on fsListFontsWithXInfo.

diff -Naurp xc.orig/lib/font/fc/fserve.c xc/lib/font/fc/fserve.c
--- xc.orig/lib/font/fc/fserve.c	2005-02-02 08:03:13.000000000 +0100
+++ xc/lib/font/fc/fserve.c	2005-02-02 08:28:14.000000000 +0100
@@ -2366,7 +2366,7 @@ fs_read_list_info(FontPathElementPtr fpe
     _fs_free_props (&binfo->info);
 
     rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret);
-    if (rep == 0)
+    if (!rep || rep->type == FS_Error)
     {
 	if (ret == FSIO_BLOCK)
 	    return StillWorking;
