Skip to content
Snippets Groups Projects
Commit 17b80c8e authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard
Browse files

msi: Don't read past the end of the patch list in MsiApplyMultiplePatchesW.

parent 2eda884b
No related branches found
No related tags found
No related merge requests found
......@@ -487,7 +487,7 @@ UINT WINAPI MsiApplyMultiplePatchesW(LPCWSTR szPatchPackages,
r = MSI_ApplyPatchW(patch, szProductCode, szPropertiesList);
msi_free(patch);
if (r != ERROR_SUCCESS)
if (r != ERROR_SUCCESS || !*end)
break;
beg = ++end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment