kernel32: Fix OutputDebugStringA called with NULL pointer.

This commit is contained in:
Stefan Leichter 2012-05-30 22:47:34 +02:00 committed by Alexandre Julliard
parent e16bcda486
commit 68aa42a419

View File

@ -245,6 +245,8 @@ void WINAPI OutputDebugStringA( LPCSTR str )
static HANDLE DBWinMutex = NULL;
static BOOL mutex_inited = FALSE;
if (!str) str = "";
/* send string to attached debugger */
SERVER_START_REQ( output_debug_string )
{