Author: pschweitzer
Date: Sun Feb 19 17:24:13 2017
New Revision: 73848
URL:
http://svn.reactos.org/svn/reactos?rev=73848&view=rev
Log:
[EVENTVWR]
Don't attempt to free random address
CID 1401231
Modified:
trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c
Modified: trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c [iso-8859-1] Sun Feb 19
17:24:13 2017
@@ -1430,7 +1430,7 @@
ULONG LogIndex;
HANDLE hEventLog;
- PEVENTLOGRECORD pEvlr;
+ PEVENTLOGRECORD pEvlr = NULL;
PBYTE pEvlrEnd;
PBYTE pEvlrBuffer;
DWORD dwWanted, dwRead, dwNeeded, dwStatus = ERROR_SUCCESS;