kernel32: Use debugstr_a to avoid overflow with user-specified string.
This commit is contained in:
parent
55013410f7
commit
0fd822f465
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue