Too many fonts is no reason to drop everything, dump core, and exit.

Signed-off-by: Alan Coopersmith <[email protected]>
---
 difs/fonts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/difs/fonts.c b/difs/fonts.c
index 3164049..08d8a93 100644
--- a/difs/fonts.c
+++ b/difs/fonts.c
@@ -1284,7 +1284,7 @@ do_list_fonts_with_info(ClientPtr client, pointer data)
 
            --cPtr->current.max_names;
            if (cPtr->current.max_names < 0)
-               abort();
+               break;
        }
     }
 
-- 
1.7.9.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to