[PATCH 1/1] Fix handling of invalid, non-path FPE
Ademar de Souza Reis Jr
ademar at mandriva.com.br
Wed Jun 20 12:48:26 PDT 2007
FPE's which are not valid and are not in the form of paths cause a
failure on the parser which invalidates all subsequent FPEs. If
the invalid FPE is the first on the list, this will cause a
fatal-error and the server will abort.
---
difs/fonts.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/difs/fonts.c b/difs/fonts.c
index 2ba7c42..05fef26 100644
--- a/difs/fonts.c
+++ b/difs/fonts.c
@@ -688,6 +688,7 @@ set_font_path_elements(
{
NoticeF("ignoring font path element %s (bad font path descriptor)\n", name);
fsfree(name);
+ cp += len;
continue;
}
/* must be new -- make it */
--
1.5.2.1
More information about the xorg
mailing list