]> git.eshelyaron.com Git - emacs.git/commit
Fix bidi_explicit_dir_char undefined behavior
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Feb 2015 02:14:14 +0000 (18:14 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Feb 2015 02:14:41 +0000 (18:14 -0800)
commit237171731157095f5cc46b0f6f6205e3b4ba9f00
tree90a29c2ccdf8fb597f5eb72d85d46535b9309589
parent751adc4b9631cedcf9bec475afe40da4db7d74a1
Fix bidi_explicit_dir_char undefined behavior

* bidi.c (bidi_explicit_dir_char): Avoid subscript error when
argument is BIDI_EOB.  This can happen in bidi_level_of_next_char.
src/ChangeLog
src/bidi.c