Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f1334dbb
Commit
f1334dbb
authored
Sep 03, 2015
by
Thomas Faller
Committed by
Alexandre Julliard
Sep 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Fix invalid read.
parent
80c3fca0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
usp10.c
dlls/usp10/usp10.c
+2
-1
No files found.
dlls/usp10/usp10.c
View file @
f1334dbb
...
...
@@ -1477,7 +1477,8 @@ static HRESULT _ItemizeInternal(const WCHAR *pwcInChars, int cInChars,
}
}
while
((
!
levels
||
(
levels
&&
levels
[
cnt
+
1
]
==
levels
[
0
]))
&&
(
pwcInChars
[
cnt
]
==
Numeric_space
)
&&
cnt
<
cInChars
)
while
((
!
levels
||
(
levels
&&
cnt
+
1
<
cInChars
&&
levels
[
cnt
+
1
]
==
levels
[
0
]))
&&
(
cnt
<
cInChars
&&
pwcInChars
[
cnt
]
==
Numeric_space
))
cnt
++
;
if
(
cnt
==
cInChars
)
/* All Spaces */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment