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
f178985d
Commit
f178985d
authored
Feb 24, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Simplify the check for a valid product code.
parent
868de4d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
source.c
dlls/msi/source.c
+2
-5
No files found.
dlls/msi/source.c
View file @
f178985d
...
...
@@ -351,16 +351,13 @@ UINT WINAPI MsiSourceListGetInfoW( LPCWSTR szProduct, LPCWSTR szUserSid,
LPCWSTR
szProperty
,
LPWSTR
szValue
,
LPDWORD
pcchValue
)
{
WCHAR
squished_pc
[
GUID_SIZE
];
HKEY
sourcekey
;
UINT
rc
;
TRACE
(
"%s %s
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szProperty
));
if
(
!
szProduct
||
!*
szProduct
)
return
ERROR_INVALID_PARAMETER
;
if
(
lstrlenW
(
szProduct
)
!=
GUID_SIZE
-
1
||
(
szProduct
[
0
]
!=
'{'
&&
szProduct
[
GUID_SIZE
-
2
]
!=
'}'
))
if
(
!
szProduct
||
!
squash_guid
(
szProduct
,
squished_pc
))
return
ERROR_INVALID_PARAMETER
;
if
(
szValue
&&
!
pcchValue
)
...
...
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