https://bugs.winehq.org/show_bug.cgi?id=36293
Bug ID: 36293 Summary: valgrind shows some unitialized memory in msvcp60/tests/ios.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Created attachment 48394 --> https://bugs.winehq.org/attachment.cgi?id=48394 valgrind log
==30538== Conditional jump or move depends on uninitialised value(s) ==30538== at 0x4FF0ED4: basic_string_char__Tidy (string.c:167) ==30538== by 0x4FF1DE3: basic_string_char_ctor_cstr_alloc (string.c:470) ==30538== by 0x4966735: test_num_get_get_double (ios.c:875) ==30538== by 0x496AAEB: func_ios (ios.c:1644) ==30538== by 0x496F872: run_test (test.h:584) ==30538== by 0x496FC6F: main (test.h:654) ==30538== Uninitialised value was created by a stack allocation ==30538== at 0x49661A1: test_num_get_get_double (ios.c:815) ==30538==
==30538== Conditional jump or move depends on uninitialised value(s) ==30538== at 0x4FF0ED4: basic_string_char__Tidy (string.c:167) ==30538== by 0x4FF1DE3: basic_string_char_ctor_cstr_alloc (string.c:470) ==30538== by 0x4FF1E31: basic_string_char_ctor_cstr (string.c:478) ==30538== by 0x4FD7AEF: _Locinfo__Locinfo_ctor_cat_cstr (locale.c:386) ==30538== by 0x4FD7BF3: _Locinfo_ctor_cstr (locale.c:416) ==30538== by 0x4FDAB5D: ctype_char__Getcat (locale.c:1452) ==30538== by 0x4FDAC39: ctype_char_use_facet (locale.c:1479) ==30538== by 0x4FC7892: basic_istream_char(intXX_t, long long) (ios.c:6807) ==30538== by 0x4FC7942: basic_istream_char_ipfx (ios.c:6831) ==30538== by 0x4FC7A12: basic_istream_char_sentry_create (ios.c:6849) ==30538== by 0x4FC98BC: basic_istream_char_read_double (ios.c:7528) ==30538== by 0x4966836: test_num_get_get_double (ios.c:884) ==30538== by 0x496AAEB: func_ios (ios.c:1644) ==30538== by 0x496F872: run_test (test.h:584) ==30538== by 0x496FC6F: main (test.h:654) ==30538== Uninitialised value was created by a stack allocation ==30538== at 0x4FDAA40: ctype_char__Getcat (locale.c:1439) ==30538==
and lots more and lots