Commit d4d8efad authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

kernel32/tests: Avoid crashing when exception info[0] contains wrong value.

parent 4b1aba75
...@@ -2130,8 +2130,7 @@ static void test_atl_thunk_emulation( ULONG dep_flags ) ...@@ -2130,8 +2130,7 @@ static void test_atl_thunk_emulation( ULONG dep_flags )
vectored_handler = pRtlAddVectoredExceptionHandler( TRUE, &execute_fault_vec_handler ); vectored_handler = pRtlAddVectoredExceptionHandler( TRUE, &execute_fault_vec_handler );
ok( vectored_handler != 0, "RtlAddVectoredExceptionHandler failed\n" ); ok( vectored_handler != 0, "RtlAddVectoredExceptionHandler failed\n" );
num_execute_fault_calls = 0; ret = send_message_excpt( hWnd, WM_USER, 0, 0 );
ret = SendMessageA( hWnd, WM_USER, 0, 0 );
pRtlRemoveVectoredExceptionHandler( vectored_handler ); pRtlRemoveVectoredExceptionHandler( vectored_handler );
......
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