[Bug 20942] New: Write buffer overflow in MODULE_LoadModule16() causing valgrind warnings in all tests??

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 7 15:14:13 CST 2009


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

           Summary: Write buffer overflow in MODULE_LoadModule16() causing
                    valgrind warnings in all tests??
           Product: Wine
           Version: 1.1.34
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Many (all?) of today's tests
http://kegel.com/wine/valgrind/logs/2009-12-07-08.39/
show the valgrind warning
 Use of uninitialised value of size 4
    at  mbstowcs_sbcs (mbtowc.c:90)
    by  wine_cp_mbstowcs (mbtowc.c:269)
    by  RtlMultiByteToUnicodeN (rtlstr.c:840)
    by  RtlAnsiStringToUnicodeString (rtlstr.c:694)
    by  FILE_name_AtoW (file.c:251)
    by  LoadLibraryExA (module.c:911)
    by  LoadLibraryA (module.c:964)
    by  MODULE_LoadModule16 (ne_module.c:1114)
    ...
  Uninitialised value was created by a stack allocation
    at  MODULE_LoadModule16 (ne_module.c:1049)

I can't reproduce this on my work machine, so perhaps
the rain has driven my home machine (which posts
the results automatically) bonkers?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list