From a2897b56dc6e8c1bb4e1e705e6a6df97574c01a6 Mon Sep 17 00:00:00 2001 From: Hannes Domani Date: Mon, 11 Aug 2014 20:49:31 +0200 Subject: [PATCH] Win32: stop stacktrace on nullpointer Signed-off-by: Jean-Baptiste Kempf --- bin/winvlc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/winvlc.c b/bin/winvlc.c index d44773da25..2de6482aa8 100644 --- a/bin/winvlc.c +++ b/bin/winvlc.c @@ -354,6 +354,8 @@ LONG WINAPI vlc_exception_filter(struct _EXCEPTION_POINTERS *lpExceptionInfo) if( !caller ) break; pBase = *pBase; + if( !pBase ) + break; } HANDLE hpid = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ,