dbghelp: Check for NULL return from process_find_by_handle (Coverity).
This commit is contained in:
parent
9bf516a813
commit
6feb525bc7
|
@ -466,6 +466,7 @@ static BOOL CALLBACK reg_cb64to32(HANDLE hProcess, ULONG action, ULONG64 data, U
|
||||||
IMAGEHLP_DEFERRED_SYMBOL_LOAD64* idsl64;
|
IMAGEHLP_DEFERRED_SYMBOL_LOAD64* idsl64;
|
||||||
IMAGEHLP_DEFERRED_SYMBOL_LOAD idsl;
|
IMAGEHLP_DEFERRED_SYMBOL_LOAD idsl;
|
||||||
|
|
||||||
|
if (!pcs) return FALSE;
|
||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
case CBA_DEBUG_INFO:
|
case CBA_DEBUG_INFO:
|
||||||
|
|
Loading…
Reference in New Issue