mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[KERNEL32]
Fix buffer overrun svn path=/trunk/; revision=53791
This commit is contained in:
@@ -1370,7 +1370,7 @@ GetTempFileNameW(IN LPCWSTR lpPathName,
|
||||
} while (*Let != 0);
|
||||
|
||||
/* Append extension & UNICODE_NULL */
|
||||
memmove(TempFileName, Ext, sizeof(Ext) + sizeof(WCHAR));
|
||||
memmove(TempFileName, Ext, sizeof(Ext));
|
||||
|
||||
/* If user provided its ID, just return */
|
||||
if (uUnique)
|
||||
|
||||
Reference in New Issue
Block a user