James Hawkins : advpack: NULL-terminate the source path.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 5 12:11:01 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 48b55afa56326a71db2ba1a3008a4447543e17c9
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=48b55afa56326a71db2ba1a3008a4447543e17c9

Author: James Hawkins <truiken at gmail.com>
Date:   Fri Apr 28 20:00:59 2006 -0500

advpack: NULL-terminate the source path.

---

 dlls/advpack/install.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c
index 451c297..1987b93 100644
--- a/dlls/advpack/install.c
+++ b/dlls/advpack/install.c
@@ -628,6 +628,7 @@ HRESULT WINAPI LaunchINFSectionExW(HWND 
     cabinfo.pszInf = get_parameter(&cmdline_ptr, ',');
     cabinfo.pszSection = get_parameter(&cmdline_ptr, ',');
     cabinfo.pszCab = get_parameter(&cmdline_ptr, ',');
+    *cabinfo.szSrcPath = '\0';
 
     flags = get_parameter(&cmdline_ptr, ',');
     if (flags)




More information about the wine-cvs mailing list