[PATCH:xfs] Don't abort() just because we found more names than client requested
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Apr 25 14:19:17 PDT 2014
Too many fonts is no reason to drop everything, dump core, and exit.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
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
More information about the xorg-devel
mailing list