[PATCH] dbghelp: Check for NULL return from process_find_by_handle (Coverity)
Marcus Meissner
meissner at suse.de
Tue Dec 15 04:14:48 CST 2009
Hi,
fresh find...
Ciao, Marcus
---
dlls/dbghelp/dbghelp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dbghelp.c b/dlls/dbghelp/dbghelp.c
index ae26518..1fe829a 100644
--- a/dlls/dbghelp/dbghelp.c
+++ b/dlls/dbghelp/dbghelp.c
@@ -466,6 +466,7 @@ static BOOL CALLBACK reg_cb64to32(HANDLE hProcess, ULONG action, ULONG64 data, U
IMAGEHLP_DEFERRED_SYMBOL_LOAD64* idsl64;
IMAGEHLP_DEFERRED_SYMBOL_LOAD idsl;
+ if (!pcs) return FALSE;
switch (action)
{
case CBA_DEBUG_INFO:
--
1.6.5.3
More information about the wine-patches
mailing list