May 18, 2026
10:14 a.m.
From: Matthias Gorzellik <matthias.gorzellik@gmail.com> --- dlls/kernelbase/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/kernelbase/debug.c b/dlls/kernelbase/debug.c index a600b6b59c9..8656859b7bb 100644 --- a/dlls/kernelbase/debug.c +++ b/dlls/kernelbase/debug.c @@ -281,6 +281,7 @@ void WINAPI DECLSPEC_HOTPATCH OutputDebugStringW( LPCWSTR str ) STRING strA; WARN( "%s\n", debugstr_w(str) ); + if (!str) return; RtlInitUnicodeString( &strW, str ); if (!RtlUnicodeStringToAnsiString( &strA, &strW, TRUE )) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10933