mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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,
|
wcsncat(szFileName,
|
||||||
L"\\",
|
L"\\",
|
||||||
MAX_PATH);
|
(sizeof(szFileName) / sizeof(szFileName[0])) - wcslen(szFileName));
|
||||||
}
|
}
|
||||||
wcsncat(szFileName,
|
wcsncat(szFileName,
|
||||||
L"setuplog.txt",
|
L"setuplog.txt",
|
||||||
MAX_PATH);
|
(sizeof(szFileName) / sizeof(szFileName[0])) - wcslen(szFileName));
|
||||||
|
|
||||||
if (bDeleteOldLogFile)
|
if (bDeleteOldLogFile)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue