1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

mscoree: Don't trace arguments in CorExeMain.

This can overflow the debug buffer. We could print each argument
on an individual line, but command-line arguments can be
obtained other ways and turned out to usually not be useful.

Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Esme Povirk 2021-08-31 13:25:32 -05:00 committed by Alexandre Julliard
parent b340956e72
commit 2586907566

View File

@ -1441,10 +1441,7 @@ __int32 WINAPI _CorExeMain(void)
GetModuleFileNameW(NULL, filename, MAX_PATH);
TRACE("%s", debugstr_w(filename));
for (i=0; i<argc; i++)
TRACE(" %s", debugstr_a(argv[i]));
TRACE("\n");
TRACE("%s argc=%i\n", debugstr_w(filename), argc);
filenameA = WtoA(filename);
if (!filenameA)