mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
init dwTotalRecords to 0
fixes a crash in case of GetNumberOfEventLogRecords fails svn path=/trunk/; revision=39284
This commit is contained in:
@@ -503,7 +503,7 @@ QueryEventMessages(LPWSTR lpMachineName,
|
||||
HWND hwndDlg;
|
||||
HANDLE hEventLog;
|
||||
EVENTLOGRECORD *pevlr;
|
||||
DWORD dwRead, dwNeeded, dwThisRecord, dwTotalRecords, dwCurrentRecord = 1, dwRecordsToRead = 0, dwFlags;
|
||||
DWORD dwRead, dwNeeded, dwThisRecord, dwTotalRecords = 0, dwCurrentRecord = 1, dwRecordsToRead = 0, dwFlags;
|
||||
LPWSTR lpSourceName;
|
||||
LPWSTR lpComputerName;
|
||||
LPWSTR lpEventStr;
|
||||
|
||||
Reference in New Issue
Block a user