Commit 7e92a492 authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Win32: stop stacktrace on bad pointer

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 7f4166b9
......@@ -356,6 +356,9 @@ LONG WINAPI vlc_exception_filter(struct _EXCEPTION_POINTERS *lpExceptionInfo)
GetModuleFileName( mbi.AllocationBase, module, 256 );
fwprintf( fd, L"%p|%ls\n", caller, module );
if( IsBadReadPtr( pBase, 2 * sizeof( void* ) ) )
/*The last BP points to NULL!*/
caller = *(pBase + 1);
if( !caller )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment