[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5973: Acknowledgement (Crash in get_next_display_element)
From: |
David Reitter |
Subject: |
bug#5973: Acknowledgement (Crash in get_next_display_element) |
Date: |
Mon, 19 Apr 2010 12:46:26 -0400 |
In line what is done just below in the same function, I would suggest at least
the following change
diff --git a/src/xdisp.c b/src/xdisp.c
index 91fd06e..4fc4f56 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5930,6 +5930,8 @@ get_next_display_element (it)
{
struct face *face = FACE_FROM_ID (it->f, it->face_id);
+ if (face) /* is face id valid? */
+ {
if (it->what == IT_COMPOSITION && it->cmp_it.ch >= 0)
{
/* Automatic composition with glyph-string. */
@@ -5945,6 +5947,7 @@ get_next_display_element (it)
it->face_id = FACE_FOR_CHAR (it->f, face, it->c, pos, it->string);
}
+ }
}
#endif
- bug#5973: Crash in get_next_display_element, David Reitter, 2010/04/19
- Message not available
- bug#5973: Acknowledgement (Crash in get_next_display_element),
David Reitter <=
- bug#5973: Crash in get_next_display_element, Eli Zaretskii, 2010/04/19
- bug#5973: Crash in get_next_display_element, David Reitter, 2010/04/19
- bug#5973: Crash in get_next_display_element, Juanma Barranquero, 2010/04/19
- bug#5973: Crash in get_next_display_element, Eli Zaretskii, 2010/04/20
- bug#5973: Crash in get_next_display_element, Juanma Barranquero, 2010/04/20
- bug#5973: Crash in get_next_display_element, Eli Zaretskii, 2010/04/20