[Bug 7214] wine_dbg_vprintf: debugstr buffer overflow (contents: 'err:msvcrt:demangle_datatype Unknown type ')

Wine Bugs wine-bugs at winehq.org
Sun Jan 21 02:57:54 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7214


xerox_xerox2000 at yahoo.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wine-bugs at winehq.org




------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2007-21-01 02:57 -------
here's what i get:
i changed struct debug_info, field ouput[1024] -> output[2048]):
Instead of 2 compile errors, i now only get one. If i increase it even more from
struct debug_info, field ouput[1024] -> output[4096])
the compile errors are gone, and the project compiles fine.

As for the second thing you askesd there are weird things going on here:
If i enable the debug channel +msvcrt, the compile errors are gone! (i changed 
back to field output[1024] of course). So the bug can be worked around as well,
by enabling the debug-channel, which is very strange....
For your info, i also tried to changed the line 'ERR("Unknown type %c\n", dt);'
to 'ERR("Unknown type %d\n", dt);' (which is wrong format string,i know) , but
that also fixed the compile error, and showed , that dt is equal to 0. I'll
attach the debug output of +msvcrt, but as i said, i dunno how useful that is,
as the ciompilation succeds fine when i enable that channel. FYI, the sample
project i try to compile is available at
http://www.codeproject.com/gdi/kanjifont.asp
, in Visual C++ 6.0



-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list