]> git.eshelyaron.com Git - emacs.git/commit
Fix segfault in composite.c
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Jul 2022 10:16:12 +0000 (13:16 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Jul 2022 10:16:12 +0000 (13:16 +0300)
commita740608453525c7f7645df0740ee8267b43a779b
tree0f9c04f2bce2058e86571e7070b74c60d7feda31
parentafbac35bba832431f19cb0934b6c0d7ba9a7f9a7
Fix segfault in composite.c

* src/composite.c (find_automatic_composition): Don't use
narrowed_begv if it's zero.  This avoids segfault in
BACKWARD_CHAR, since zero is not a valid buffer position.
src/composite.c