kernel32: Use debugstr_a to avoid overflow with user-specified string.

This commit is contained in:
Alexandre Julliard 2011-02-19 13:06:40 +01:00
parent 55013410f7
commit 0fd822f465
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ void WINAPI OutputDebugStringA( LPCSTR str )
}
SERVER_END_REQ;
WARN("%s\n", str);
WARN("%s\n", debugstr_a(str));
/* send string to a system-wide monitor */
/* FIXME should only send to monitor if no debuggers are attached */