Commit a2c7cd9f authored by Mike DePaulo's avatar Mike DePaulo Committed by Mike Gabriel

Don't crash when we receive an FS_Error from the font server (Guillem Jover).…

Don't crash when we receive an FS_Error from the font server (Guillem Jover). from xorg/lib/libXfont commit bfb8a71f4f7e5c5ed4278cb3ee271bf9990d276d
parent 94c6de06
...@@ -2366,7 +2366,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec) ...@@ -2366,7 +2366,7 @@ fs_read_list_info(FontPathElementPtr fpe, FSBlockDataPtr blockrec)
_fs_free_props (&binfo->info); _fs_free_props (&binfo->info);
rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret); rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret);
if (rep == 0) if (!rep || rep->type == FS_Error)
{ {
if (ret == FSIO_BLOCK) if (ret == FSIO_BLOCK)
return StillWorking; return StillWorking;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment