1
Fix a SEGV in fs_read_list_info() to correctly handle a reply type of
2
FS_Error from fsListFontsWithXInfoReply(). This mirrors a similar check in
3
fs_read_open_font(), fs_read_query_info(), fs_read_extent_info(),
4
fs_read_glyphs(), and fs_read_list(), so why it was missing from this
5
function was a mystery.
7
This patch by Guillem Jover. See Debian #294320.
9
Not submitted to X.Org yet.
11
Index: libXfont-X11R7.0-1.0.0/src/fc/fserve.c
12
===================================================================
13
--- libXfont-X11R7.0-1.0.0.orig/src/fc/fserve.c 2005-12-30 14:50:44.000000000 -0500
14
+++ libXfont-X11R7.0-1.0.0/src/fc/fserve.c 2006-02-26 18:34:58.000000000 -0500
16
_fs_free_props (&binfo->info);
18
rep = (fsListFontsWithXInfoReply *) fs_get_reply (conn, &ret);
20
+ if (!rep || rep->type == FS_Error)
22
if (ret == FSIO_BLOCK)