Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a3c2c508
Commit
a3c2c508
authored
Oct 06, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Check hr so we are not incrementing a NULL (Coverity 106).
parent
4d958a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
filesource.c
dlls/quartz/filesource.c
+2
-4
No files found.
dlls/quartz/filesource.c
View file @
a3c2c508
...
...
@@ -168,12 +168,10 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
if
(
!
(
wszPatternString
=
strchrW
(
wszPatternString
,
','
)))
hr
=
E_INVALIDARG
;
wszPatternString
++
;
/* skip ',' */
if
(
hr
==
S_OK
)
{
for
(
;
!
isxdigitW
(
*
wszPatternString
)
&&
(
*
wszPatternString
!=
','
);
wszPatternString
++
)
;
wszPatternString
++
;
/* skip ',' */
while
(
!
isxdigitW
(
*
wszPatternString
)
&&
(
*
wszPatternString
!=
','
))
wszPatternString
++
;
for
(
strpos
=
0
;
isxdigitW
(
*
wszPatternString
)
&&
(
strpos
/
2
<
ulBytes
);
wszPatternString
++
,
strpos
++
)
{
...
...
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