http://bugs.winehq.org/show_bug.cgi?id=26122
Summary: mscoree/msocree tests show several uninitialized values under valgrind Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: minor Priority: P2 Component: mscoree AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Use of uninitialised value of size 4 at mbstowcs_sbcs (mbtowc.c:87) by wine_cp_mbstowcs (mbtowc.c:269) by MultiByteToWideChar (locale.c:1920) by CompareStringA (locale.c:2868) by StrCmpNIA (string.c:422) by SHLWAPI_StrStrHelperA (string.c:554) by StrStrIA (string.c:684) by test_loadlibraryshim (mscoree.c:167) by func_mscoree (mscoree.c:253) by run_test (test.h:556) by main (test.h:624) Uninitialised value was created by a stack allocation at test_loadlibraryshim (mscoree.c:144)
...
That repeats for mbstowcs_sbcs / mbtowc.c, lines 86-92
http://bugs.winehq.org/show_bug.cgi?id=26122
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #1 from Dan Kegel dank@kegel.com 2011-10-16 03:30:12 CDT --- Still happening. It's as if GetModuleFileNameA() didn't nul-terminate its buffer.
http://bugs.winehq.org/show_bug.cgi?id=26122
--- Comment #2 from Austin English austinenglish@gmail.com 2012-09-26 14:43:52 CDT --- Still in wine-1.5.13-346-g0445393
https://bugs.winehq.org/show_bug.cgi?id=26122
--- Comment #3 from Austin English austinenglish@gmail.com --- Created attachment 48230 --> https://bugs.winehq.org/attachment.cgi?id=48230 valgrind log in wine-1.7.17-42-g24c5728
https://bugs.winehq.org/show_bug.cgi?id=26122
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|mscoree/msocree tests show |valgrind shows several |several uninitialized |uninitialized variables in |values under valgrind |mscoree/tests/mscoree.c
https://bugs.winehq.org/show_bug.cgi?id=26122
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=26122
Thomas Faller tfaller1@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tfaller1@gmx.de
--- Comment #4 from Thomas Faller tfaller1@gmx.de --- I can't reproduce this with current git (1.7.51)
https://bugs.winehq.org/show_bug.cgi?id=26122
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Thomas Faller from comment #4)
I can't reproduce this with current git (1.7.51)
Same.
https://bugs.winehq.org/show_bug.cgi?id=26122
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.