Commit e7b9e80f authored by Paul Eggert's avatar Paul Eggert
Browse files

* print.c (print_error_message): Avoid int overflow.

parent 56201685
2011-04-04 Paul Eggert <eggert@cs.ucla.edu>
* print.c (print_error_message): Avoid int overflow.
* font.c (font_list_entities): Redo for clarity,
so that reader need not know FONT_DPI_INDEX + 1 == FONT_SPACING_INDEX.
......@@ -929,7 +929,7 @@ print_error_message (Lisp_Object data, Lisp_Object stream, const char *context,
else
write_string_1 ("peculiar error", -1, stream);
for (i = 0; CONSP (tail); tail = XCDR (tail), i++)
for (i = 0; CONSP (tail); tail = XCDR (tail), i = 1)
{
Lisp_Object obj;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment