mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 16:40:29 +01:00
38468: wb,we values in gotword() needed assignment in additional case to avoid core dump
Bug introduced by 38248. Also fix ChangeLog entry for 38248 to correctly reference Src/lex.c
This commit is contained in:
parent
597fa5ee5d
commit
c712e7511a
2 changed files with 10 additions and 3 deletions
|
|
@ -1795,6 +1795,10 @@ gotword(void)
|
|||
if (zlemetacs >= nwb) {
|
||||
wb = nwb;
|
||||
we = nwe;
|
||||
} else {
|
||||
wb = zlemetacs + addedx;
|
||||
if (we < wb)
|
||||
we = wb;
|
||||
}
|
||||
lexflags = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue