deroff: fix out-of-bounds access if runes above 0X80 are inside EQ clauses
This commit is contained in:
parent
a2422a89c5
commit
23420c2493
1 changed files with 1 additions and 1 deletions
|
|
@ -745,7 +745,7 @@ eqn(void)
|
||||||
}
|
}
|
||||||
if(c != '\n')
|
if(c != '\n')
|
||||||
while(C1 != '\n') {
|
while(C1 != '\n') {
|
||||||
if(chars[c] == PUNCT)
|
if(charclass(c) == PUNCT)
|
||||||
last = c;
|
last = c;
|
||||||
else
|
else
|
||||||
if(c != ' ')
|
if(c != ' ')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue