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

This commit is contained in:
Sebastian Lackner 2014-10-24 02:03:40 +02:00 committed by Alexandre Julliard
parent 4b1aba754e
commit d4d8efad46
1 changed files with 1 additions and 2 deletions

View File

@ -2130,8 +2130,7 @@ static void test_atl_thunk_emulation( ULONG dep_flags )
vectored_handler = pRtlAddVectoredExceptionHandler( TRUE, &execute_fault_vec_handler );
ok( vectored_handler != 0, "RtlAddVectoredExceptionHandler failed\n" );
num_execute_fault_calls = 0;
ret = SendMessageA( hWnd, WM_USER, 0, 0 );
ret = send_message_excpt( hWnd, WM_USER, 0, 0 );
pRtlRemoveVectoredExceptionHandler( vectored_handler );