Commit 0fd822f4 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 55013410
...@@ -253,7 +253,7 @@ void WINAPI OutputDebugStringA( LPCSTR str ) ...@@ -253,7 +253,7 @@ void WINAPI OutputDebugStringA( LPCSTR str )
} }
SERVER_END_REQ; SERVER_END_REQ;
WARN("%s\n", str); WARN("%s\n", debugstr_a(str));
/* send string to a system-wide monitor */ /* send string to a system-wide monitor */
/* FIXME should only send to monitor if no debuggers are attached */ /* FIXME should only send to monitor if no debuggers are attached */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment