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
35706b6b
Commit
35706b6b
authored
Aug 16, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a memory overflow and leak identified by Mike McCormack.
parent
f3491aa9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
action.c
dlls/msi/action.c
+2
-1
No files found.
dlls/msi/action.c
View file @
35706b6b
...
@@ -3709,7 +3709,7 @@ UINT ACTION_ResolveSource(MSIPACKAGE* package)
...
@@ -3709,7 +3709,7 @@ UINT ACTION_ResolveSource(MSIPACKAGE* package)
INSTALLPROPERTY_DISKPROMPTW
,
NULL
,
&
size
);
INSTALLPROPERTY_DISKPROMPTW
,
NULL
,
&
size
);
if
(
rc
==
ERROR_MORE_DATA
)
if
(
rc
==
ERROR_MORE_DATA
)
{
{
prompt
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
prompt
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
*
sizeof
(
WCHAR
)
);
MsiSourceListGetInfoW
(
package
->
ProductCode
,
NULL
,
MsiSourceListGetInfoW
(
package
->
ProductCode
,
NULL
,
MSIINSTALLCONTEXT_USERMANAGED
,
MSICODE_PRODUCT
,
MSIINSTALLCONTEXT_USERMANAGED
,
MSICODE_PRODUCT
,
INSTALLPROPERTY_DISKPROMPTW
,
prompt
,
&
size
);
INSTALLPROPERTY_DISKPROMPTW
,
prompt
,
&
size
);
...
@@ -3728,6 +3728,7 @@ UINT ACTION_ResolveSource(MSIPACKAGE* package)
...
@@ -3728,6 +3728,7 @@ UINT ACTION_ResolveSource(MSIPACKAGE* package)
}
}
attrib
=
GetFileAttributesW
(
package
->
PackagePath
);
attrib
=
GetFileAttributesW
(
package
->
PackagePath
);
}
}
HeapFree
(
GetProcessHeap
(),
0
,
prompt
);
rc
=
ERROR_SUCCESS
;
rc
=
ERROR_SUCCESS
;
}
}
else
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