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
88bd52da
Commit
88bd52da
authored
Nov 23, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Handle malformed keys a bit better (Coverity).
parent
0dca1ebe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
msstyles.c
dlls/uxtheme/msstyles.c
+8
-2
No files found.
dlls/uxtheme/msstyles.c
View file @
88bd52da
...
...
@@ -364,7 +364,10 @@ static BOOL MSSTYLES_ParseIniSectionName(LPCWSTR lpSection, DWORD dwLen, LPWSTR
lstrcpynW
(
part
,
comp
,
sizeof
(
part
)
/
sizeof
(
part
[
0
]));
comp
=
tmp
;
/* now get the state */
*
strchrW
(
comp
,
')'
)
=
0
;
tmp
=
strchrW
(
comp
,
')'
);
if
(
!
tmp
)
return
FALSE
;
*
tmp
=
0
;
lstrcpynW
(
state
,
comp
,
sizeof
(
state
)
/
sizeof
(
state
[
0
]));
}
else
{
...
...
@@ -378,7 +381,10 @@ static BOOL MSSTYLES_ParseIniSectionName(LPCWSTR lpSection, DWORD dwLen, LPWSTR
lstrcpynW
(
szClassName
,
comp
,
MAX_THEME_CLASS_NAME
);
comp
=
tmp
;
/* now get the state */
*
strchrW
(
comp
,
')'
)
=
0
;
tmp
=
strchrW
(
comp
,
')'
);
if
(
!
tmp
)
return
FALSE
;
*
tmp
=
0
;
lstrcpynW
(
state
,
comp
,
sizeof
(
state
)
/
sizeof
(
state
[
0
]));
}
else
{
...
...
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