wine/dlls/vbscript
Kevin Puetz 0fb2d0f04e vbscript: Don't abort when trying to TRACE() functions with many arguments.
__wine_dbg_output accumulates the output characters in a debug_info
structure, flushing it when it encounters '\n'. If debug_info plus the
new string exceed 1024 characters, append_output will print

> wine_dbg_output: debugstr buffer overflow

and then crash the process via abort().

wine_dbgstr_variant limits the length printed for any individual argument,
but a function with multiple parameters can still plausibly exceed 1024.

Fixed by formatting the TRACE for each argument on a separate line,
as similar places (like oleaut32/typelib.c:dump_DispParms) do.
2022-09-29 17:59:36 +02:00
..
tests vbscript: Don't abort when trying to TRACE() functions with many arguments. 2022-09-29 17:59:36 +02:00
compile.c vbscript: Do HRESULT->VBSERROR mapping for the whole EXCEPINFO at once. 2022-09-26 11:36:49 +02:00
global.c vbscript: Do HRESULT->VBSERROR mapping for the whole EXCEPINFO at once. 2022-09-26 11:36:49 +02:00
interp.c vbscript: Don't abort when trying to TRACE() functions with many arguments. 2022-09-29 17:59:36 +02:00
lex.c
Makefile.in
parse.h
parser.y
regexp.c
regexp.h
utils.c
vbdisp.c vbscript: Do HRESULT->VBSERROR mapping for the whole EXCEPINFO at once. 2022-09-26 11:36:49 +02:00
vbregexp.c
vbscript.c
vbscript.h vbscript: Do HRESULT->VBSERROR mapping for the whole EXCEPINFO at once. 2022-09-26 11:36:49 +02:00
vbscript.rc
vbscript.rgs
vbscript.spec
vbscript_classes.idl
vbscript_defs.h
vbscript_main.c vbscript: Do HRESULT->VBSERROR mapping for the whole EXCEPINFO at once. 2022-09-26 11:36:49 +02:00
vbsglobal.idl
vbsregexp10.idl
vbsregexp55.idl