From 48b55afa56326a71db2ba1a3008a4447543e17c9 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Fri, 28 Apr 2006 20:00:59 -0500 Subject: [PATCH] advpack: NULL-terminate the source path. --- dlls/advpack/install.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c index 451c2971f23..1987b93caa6 100644 --- a/dlls/advpack/install.c +++ b/dlls/advpack/install.c @@ -628,6 +628,7 @@ HRESULT WINAPI LaunchINFSectionExW(HWND hWnd, HINSTANCE hInst, LPWSTR cmdline, I 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)