Author: tfaber
Date: Mon Feb 20 12:00:13 2017
New Revision: 73857
URL:
http://svn.reactos.org/svn/reactos?rev=73857&view=rev
Log:
[WINPRINT]
- Avoid uninitialized hPrintMonitor in PrintRawJob failure case. Patch by Víctor Martínez
Calvo
CORE-12792 #resolve
Modified:
trunk/reactos/win32ss/printing/processors/winprint/raw.c
Modified: trunk/reactos/win32ss/printing/processors/winprint/raw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/printing/processor…
==============================================================================
--- trunk/reactos/win32ss/printing/processors/winprint/raw.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/printing/processors/winprint/raw.c [iso-8859-1] Mon Feb 20
12:00:13 2017
@@ -31,7 +31,7 @@
DWORD cbWritten;
DWORD dwErrorCode;
HANDLE hPrintJob;
- HANDLE hPrintMonitor;
+ HANDLE hPrintMonitor = NULL;
PBYTE pBuffer = NULL;
// Open the spooled job to read from it.