]> git.eshelyaron.com Git - emacs.git/commit
Avoid assertion violations in malformed Unicode escapes
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 Oct 2020 15:27:47 +0000 (18:27 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Oct 2020 15:27:47 +0000 (18:27 +0300)
commitd3c3fe781424c866ad64ce9a8e3b649b30a0b5ae
tree7c2a6a85f3a9252d6d6383deab8feda76ec0665e
parent01e0357ba77031dfc66a00822a034e561c0c1ccc
Avoid assertion violations in malformed Unicode escapes

* src/lread.c (read_escape): Produce better diagnostic for
malformed \u Unicode escapes, while avoiding assertion violation
when READCHAR returns -1 because the input is exhausted.
(Bug#44084)
src/lread.c