diff options
| author | Eli Zaretskii | 2020-09-19 19:54:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-09-19 19:54:01 +0300 |
| commit | df04f3e755f3001ebb9cc428faa7fa46059e636b (patch) | |
| tree | acf478dc8aca3749f10ad6f9d5527cc29b05ed4c /src/coding.c | |
| parent | fd1fe1e1ecb6c68bbdea4bf071166779388174d0 (diff) | |
| download | emacs-df04f3e755f3001ebb9cc428faa7fa46059e636b.tar.gz emacs-df04f3e755f3001ebb9cc428faa7fa46059e636b.zip | |
Fix a rare segfault in syntax.c
* src/syntax.c (Fforward_comment): Prevent the loop for COUNT < 0
from going outside the valid range of character/byte positions.
(Bug#43499)
* doc/lispref/syntax.texi (Syntax Class Table): Mention the
"comment-fence" and "string-fence" as alternative names of 2
syntax classes.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions