From e9039d7ad0fd5c6aa968225eec015cd18631767b Mon Sep 17 00:00:00 2001 From: Ademar de Souza Reis Jr <ademar@mandriva.com.br> Date: Wed, 20 Jun 2007 16:43:14 -0300 Subject: [PATCH 1/1] Fix handling of invalid, non-path FPE 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