advpack: NULL-terminate the source path.

This commit is contained in:
James Hawkins 2006-04-28 20:00:59 -05:00 committed by Alexandre Julliard
parent 9c6e762e6d
commit 48b55afa56
1 changed files with 1 additions and 0 deletions

View File

@ -628,6 +628,7 @@ HRESULT WINAPI LaunchINFSectionExW(HWND hWnd, HINSTANCE hInst, LPWSTR cmdline, I
cabinfo.pszInf = get_parameter(&cmdline_ptr, ','); cabinfo.pszInf = get_parameter(&cmdline_ptr, ',');
cabinfo.pszSection = get_parameter(&cmdline_ptr, ','); cabinfo.pszSection = get_parameter(&cmdline_ptr, ',');
cabinfo.pszCab = get_parameter(&cmdline_ptr, ','); cabinfo.pszCab = get_parameter(&cmdline_ptr, ',');
*cabinfo.szSrcPath = '\0';
flags = get_parameter(&cmdline_ptr, ','); flags = get_parameter(&cmdline_ptr, ',');
if (flags) if (flags)