msvcrt: Add __security_error_handler stub.
This commit is contained in:
parent
ca894127f8
commit
e3592d041a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue