]> git.eshelyaron.com Git - emacs.git/commit
Fix crashes with lots of overlays.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Jan 2013 20:04:33 +0000 (22:04 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Jan 2013 20:04:33 +0000 (22:04 +0200)
commit59ac2d1316937bb013ef437885dcdc0225c71de9
treee2272769f60a36aeb74f8f01b479b597455f0065
parent3a955a1f8617ae65709772863a4cb8bb9ec73de7
Fix crashes with lots of overlays.

 src/editfns.c (get_pos_property): Use SAFE_ALLOCA_LISP, to avoid
 segfault when there are lots of overlays.
 src/buffer.c (sort_overlays): Use SAFE_NALLOCA, to avoid segfault
 when there are lots of overlays.  See
 http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00421.html
 for the details and a way to reproduce.
src/ChangeLog
src/buffer.c
src/editfns.c