diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-04-20 22:26:30 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-04-20 22:31:11 -0700 |
commit | c88a3be8087ad0165415aa87c01f868a7433cb21 (patch) | |
tree | 5bba8004c1846653aa514416d31c6b47034df740 /lisp/emacs-lisp/cl-generic.el | |
parent | 856d9378a49ec9ec1af2ea74fb9309fe4c39cd1d (diff) | |
download | emacs-c88a3be8087ad0165415aa87c01f868a7433cb21.tar.gz emacs-c88a3be8087ad0165415aa87c01f868a7433cb21.tar.bz2 emacs-c88a3be8087ad0165415aa87c01f868a7433cb21.zip |
Fix string-to-multibyte overlong sequence bug
* src/character.h (MULTIBYTE_LENGTH, MULTIBYTE_LENGTH_NO_CHECK):
Remove, replacing with ...
(multibyte_length): ... this new function. All callers changed.
The new function rejects overlong multibyte forms.
* test/src/buffer-tests.el (buffer-multibyte-overlong-sequences):
New test.
Diffstat (limited to 'lisp/emacs-lisp/cl-generic.el')
0 files changed, 0 insertions, 0 deletions