Commit e3592d04 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add __security_error_handler stub.

parent ca894127
......@@ -194,7 +194,7 @@
@ extern __pioinfo msvcrt.__pioinfo
@ stub __pwctype_func
@ cdecl __pxcptinfoptrs() msvcrt.__pxcptinfoptrs
@ stub __security_error_handler
@ cdecl __security_error_handler(long ptr) msvcrt.__security_error_handler
@ cdecl __set_app_type(long) msvcrt.__set_app_type
@ stub __set_buffer_overrun_handler
@ extern __setlc_active msvcrt.__setlc_active
......
......@@ -189,7 +189,7 @@
@ extern __pioinfo msvcrt.__pioinfo
@ stub __pwctype_func
@ cdecl __pxcptinfoptrs() msvcrt.__pxcptinfoptrs
@ stub __security_error_handler
@ cdecl __security_error_handler(long ptr) msvcrt.__security_error_handler
@ cdecl __set_app_type(long) msvcrt.__set_app_type
@ stub __set_buffer_overrun_handler
@ extern __setlc_active msvcrt.__setlc_active
......
......@@ -303,3 +303,14 @@ MSVCRT_security_error_handler CDECL _set_security_error_handler(
security_error_handler = handler;
return old;
}
/* __security_error_handler - not exported in native msvcrt */
void CDECL __security_error_handler(int code, void *data)
{
if(security_error_handler)
security_error_handler(code, data);
else
FIXME("(%d, %p) stub\n", code, data);
MSVCRT__exit(3);
}
......@@ -1528,6 +1528,7 @@
@ cdecl _set_invalid_parameter_handler(ptr)
@ cdecl _set_purecall_handler(ptr)
@ cdecl _set_security_error_handler(ptr)
@ cdecl __security_error_handler(long ptr)
@ cdecl -arch=i386 _statusfp2(ptr ptr)
@ cdecl _wdupenv_s(ptr ptr wstr)
@ cdecl _get_printf_count_output() MSVCRT__get_printf_count_output
......
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