summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-08-18 21:46:02 +0300
committerEli Zaretskii <eliz@gnu.org>2011-08-18 21:46:02 +0300
commit0be6ee069e0911cdac5abe4d2ff53bf32a6d62fc (patch)
treeb0b68e840fe25d3e50a6252eeadd0af3e6313718 /src/ChangeLog
parent92b714445aac9be4227684f9c90cd61c3a0f02d5 (diff)
Protect the bidi iterator against zero bidi properties.
src/bidi.c (bidi_get_type): If bidi_type_table reports zero as the character bidirectional type, use STRONG_L instead. Fixes crashes in a buffer produced by `describe-categories'.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 037a4b28a9e..2b5b6fd0602 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2011-08-18 Eli Zaretskii <eliz@gnu.org>
+ * bidi.c (bidi_get_type): If bidi_type_table reports zero as the
+ character bidirectional type, use STRONG_L instead. Fixes crashes
+ in a buffer produced by `describe-categories'.
+
* dispextern.h (struct bidi_it): Move disp_pos and disp_prop_p
members before the level stack, so they would be saved and
restored when copying iterator state. Fixes incorrect reordering