mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:25:58 +00:00
[USER32]
Import Wine commit: - bfb7e167cb399dbba0a889b797bc11ece8b9e687, Check bounds before dereferencing. svn path=/trunk/; revision=71235
This commit is contained in:
parent
be41ea660b
commit
9756d84f6c
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ static INT EDIT_WordBreakProc(EDITSTATE *es, LPWSTR s, INT index, INT count, INT
|
|||
case WB_RIGHT:
|
||||
if (!count)
|
||||
break;
|
||||
while (s[index] && index < count && !es->logAttr[index].fSoftBreak)
|
||||
while (index < count && s[index] && !es->logAttr[index].fSoftBreak)
|
||||
index++;
|
||||
ret = index;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue