mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[KERNEL32]
Fix buffer overrun svn path=/trunk/; revision=53791
This commit is contained in:
parent
374497d4a6
commit
8ddfcc0ce0
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue