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
7f4a4e16
Commit
7f4a4e16
authored
May 06, 2007
by
James Hawkins
Committed by
Alexandre Julliard
May 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Only allow valid styles in msi_dialog_get_style.
parent
4ccee1ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dialog.c
dlls/msi/dialog.c
+3
-3
No files found.
dlls/msi/dialog.c
View file @
7f4a4e16
...
@@ -265,11 +265,11 @@ static LPWSTR msi_dialog_get_style( LPCWSTR p, LPCWSTR *rest )
...
@@ -265,11 +265,11 @@ static LPWSTR msi_dialog_get_style( LPCWSTR p, LPCWSTR *rest )
while
((
first
=
strchrW
(
p
,
'{'
))
&&
(
q
=
strchrW
(
first
+
1
,
'}'
)))
while
((
first
=
strchrW
(
p
,
'{'
))
&&
(
q
=
strchrW
(
first
+
1
,
'}'
)))
{
{
p
=
first
+
1
;
p
=
first
+
1
;
if
(
*
p
==
'\\'
||
*
p
=
=
'&'
)
if
(
*
p
!=
'\\'
&&
*
p
!
=
'&'
)
p
++
;
return
NULL
;
/* little bit of sanity checking to stop us getting confused with RTF */
/* little bit of sanity checking to stop us getting confused with RTF */
for
(
i
=
p
;
i
<
q
;
i
++
)
for
(
i
=
++
p
;
i
<
q
;
i
++
)
if
(
*
i
==
'}'
||
*
i
==
'\\'
)
if
(
*
i
==
'}'
||
*
i
==
'\\'
)
return
NULL
;
return
NULL
;
}
}
...
...
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