[vlc-commits] Win32: stop stacktrace on nullpointer

Hannes Domani git at videolan.org
Wed Aug 13 21:41:27 CEST 2014


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

Win32: stop stacktrace on nullpointer

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit a2897b56dc6e8c1bb4e1e705e6a6df97574c01a6)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 837c585..e53bc8d 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -349,6 +349,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