kernel32: Fix OutputDebugStringA called with NULL pointer.
This commit is contained in:
parent
e16bcda486
commit
68aa42a419
@ -245,6 +245,8 @@ void WINAPI OutputDebugStringA( LPCSTR str )
|
|||||||
static HANDLE DBWinMutex = NULL;
|
static HANDLE DBWinMutex = NULL;
|
||||||
static BOOL mutex_inited = FALSE;
|
static BOOL mutex_inited = FALSE;
|
||||||
|
|
||||||
|
if (!str) str = "";
|
||||||
|
|
||||||
/* send string to attached debugger */
|
/* send string to attached debugger */
|
||||||
SERVER_START_REQ( output_debug_string )
|
SERVER_START_REQ( output_debug_string )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user