[vlc-commits] Win32: stop stacktrace on nullpointer

Hannes Domani git at videolan.org
Mon Aug 11 21:25:28 CEST 2014


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Mon Aug 11 20:49:31 2014 +0200| [a2897b56dc6e8c1bb4e1e705e6a6df97574c01a6] | committer: Jean-Baptiste Kempf

Win32: stop stacktrace on nullpointer

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2897b56dc6e8c1bb4e1e705e6a6df97574c01a6
---

 bin/winvlc.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index d44773d..2de6482 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,



More information about the vlc-commits mailing list