mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SYSSETUP]
Fix buffer overrun CID #716146 svn path=/trunk/; revision=62659
This commit is contained in:
parent
7c66fc782d
commit
cf4a5c8d11
1 changed files with 2 additions and 2 deletions
|
@ -45,11 +45,11 @@ InitializeSetupActionLog (BOOL bDeleteOldLogFile)
|
|||
{
|
||||
wcsncat(szFileName,
|
||||
L"\\",
|
||||
MAX_PATH);
|
||||
(sizeof(szFileName) / sizeof(szFileName[0])) - wcslen(szFileName));
|
||||
}
|
||||
wcsncat(szFileName,
|
||||
L"setuplog.txt",
|
||||
MAX_PATH);
|
||||
(sizeof(szFileName) / sizeof(szFileName[0])) - wcslen(szFileName));
|
||||
|
||||
if (bDeleteOldLogFile)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue