Skip to content

Commit ce4b987

Browse files
committed
Work in progress
1 parent 7f4da09 commit ce4b987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/commonutils/CrashHandler.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ void CheckForPreviousCrash(const char* logFileName, OsConfigLogHandle log)
9191
char* crashStart = NULL;
9292
char* p = NULL;
9393

94-
if ((NULL == logFileName) || (false == FileExists(logFileName)) || (NULL == marker) || (NULL == stack))
94+
if ((NULL == logFileName) || (false == FileExists(logFileName)))
9595
{
9696
return;
9797
}
9898

99-
if (NULL != (endOfFile = ReadEndOfFile(logFileName, log)))
99+
if (NULL != (endOfFile = ReadEndOfFile(logFileName, 2048, log)))
100100
{
101101
if (NULL != (crashStart = strstr(endOfFile, CRASH_PREFIX)))
102102
{

0 commit comments

Comments
 (0)