Module: wine Branch: master Commit: 2586907566c6a4b57d9f13761b65e23dc7f3281f URL: https://source.winehq.org/git/wine.git/?a=commit;h=2586907566c6a4b57d9f13761...
Author: Esme Povirk esme@codeweavers.com Date: Tue Aug 31 13:25:32 2021 -0500
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
---
dlls/mscoree/corruntimehost.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index d47492b7d4d..ec06717be85 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -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)