• Kevin Puetz's avatar
    vbscript: Don't abort when trying to TRACE() functions with many arguments. · 0fb2d0f0
    Kevin Puetz authored
    __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.
    0fb2d0f0
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...