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
88c7c2c7
Commit
88c7c2c7
authored
Feb 21, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Feb 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix the size of the data sent in to RegSetValueExW.
parent
04ba3066
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
source.c
dlls/msi/source.c
+1
-0
No files found.
dlls/msi/source.c
View file @
88c7c2c7
...
...
@@ -563,6 +563,7 @@ static UINT set_last_used_source(HKEY source, LPCWSTR product, LPCWSTR usersid,
sprintfW
(
buffer
,
format
,
typechar
,
index
,
value
);
size
=
(
lstrlenW
(
buffer
)
+
1
)
*
sizeof
(
WCHAR
);
r
=
RegSetValueExW
(
source
,
INSTALLPROPERTY_LASTUSEDSOURCEW
,
0
,
REG_SZ
,
(
LPBYTE
)
buffer
,
size
);
msi_free
(
buffer
);
...
...
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