http://bugs.winehq.org/show_bug.cgi?id=28715
Bug #: 28715 Summary: msvcrt/locale.ok triggers unintialised read in MSVCRT__create_locale Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Use of uninitialised value of size 4 at wine_cp_mbstowcs (mbtowc.c:200) by MultiByteToWideChar (locale.c:1920) by LCMapStringA (locale.c:2632) by MSVCRT__create_locale (locale.c:831) by MSVCRT_setlocale (locale.c:1124) by func_locale (locale.c:110) by run_test (test.h:556) by main (test.h:624) Uninitialised value was created by a client request at RtlAllocateHeap (heap.c:208) by MSVCRT_malloc (heap.c:312) by MSVCRT__create_locale (locale.c:794) by MSVCRT_setlocale (locale.c:1124) by func_locale (locale.c:110) by run_test (test.h:556) by main (test.h:624)
http://bugs.winehq.org/show_bug.cgi?id=28715
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|msvcrt/locale.ok triggers |msvcrt/locale.ok triggers |unintialised read in |uninitialised read in |MSVCRT__create_locale |MSVCRT__create_locale
--- Comment #1 from Dan Kegel dank@kegel.com 2011-10-14 01:23:07 CDT --- keyword: valgrind
http://bugs.winehq.org/show_bug.cgi?id=28715
--- Comment #2 from Dan Kegel dank@kegel.com 2011-10-15 22:33:11 CDT --- Also happens in func_string().
http://bugs.winehq.org/show_bug.cgi?id=28715
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #3 from Piotr Caban piotr.caban@gmail.com 2012-12-06 04:29:34 CST --- It's probably fixed. Please retest (I don't see this error in my valgrind run, but I may be doing something wrong).
http://bugs.winehq.org/show_bug.cgi?id=28715
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Piotr Caban piotr.caban@gmail.com 2013-01-14 03:44:13 CST --- Marking as fixed. I don't see this errors in my valgrind runs.
http://bugs.winehq.org/show_bug.cgi?id=28715
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2013-01-18 14:56:35 CST --- Closing bugs fixed in 1.5.22.