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

Wine Bugs wine-bugs at winehq.org
Fri Jan 19 04:52:06 CST 2007


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

           Summary: wine_dbg_vprintf: debugstr buffer overflow (contents:
                    'err:msvcrt:demangle_datatype Unknown type ')
           Product: Wine
           Version: CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-msvcrt
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: xerox_xerox2000 at yahoo.co.uk


I get an 'internal compiler' error while trying to compile a simple project with
Visual C++. In the console there's the text you can read in the summary. The
following hack makes it compile fine, but that's just a hack. Could someone
write a proper fix for it?

diff --git a/dlls/msvcrt/undname.c b/dlls/msvcrt/undname.c
index a775e72..fc70517 100644
--- a/dlls/msvcrt/undname.c
+++ b/dlls/msvcrt/undname.c
@@ -790,7 +790,7 @@ static BOOL demangle_datatype(struct par
         else goto done;
         break;
     default :
-        ERR("Unknown type %c\n", dt);
+        //ERR("Unknown type %c\n", dt);
         break;
     }
     if (add_pmt && pmt_ref && in_args)

-- 
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.



More information about the wine-bugs mailing list