Author: cwittich Date: Sun Aug 23 08:19:39 2015 New Revision: 68800
URL: http://svn.reactos.org/svn/reactos?rev=68800&view=rev Log: [KERNEL32] fix a regression introduced in r68797
Modified: trunk/reactos/dll/win32/kernel32/client/path.c
Modified: trunk/reactos/dll/win32/kernel32/client/path.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/p... ============================================================================== --- trunk/reactos/dll/win32/kernel32/client/path.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/client/path.c [iso-8859-1] Sun Aug 23 08:19:39 2015 @@ -2118,7 +2118,7 @@
if (count >= ret) { - lstrcpynW(path, tmp_path, count); + lstrcpynW(path, full_tmp_path, count); /* the remaining buffer must be zeroed up to 32766 bytes in XP or 32767 * bytes after it, we will assume the > XP behavior for now */ memset(path + ret, 0, (min(count, 32767) - ret) * sizeof(WCHAR));