Fix bug #10159 with crashes in auto-complete package.
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Sep 2012 12:31:05 +0000 (15:31 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Sep 2012 12:31:05 +0000 (15:31 +0300)
commit589bd69b63c7f9513d3ee9053f4a4d3bfe7705e0
treee907bb8fcfc1e20d2c4a892372442e72e8b58382
parentbbe099e709d5c89eb638e190cc96dfb8bea5e887
Fix bug #10159 with crashes in auto-complete package.

 src/xdisp.c (next_overlay_string): Initialize it->end_charpos for
 the new overlay string.  Otherwise, the call to composition_compute_stop_pos
 in compute_stop_pos uses a wrong it->end_charpos value, and crashes because
 it runs off the end of the overlay string.
src/ChangeLog
src/xdisp.c