[Bug 37159] valgrind shows a few uninitialized variables in riched20/tests/editor.c (test_EM_FINDWORDBREAK_A)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 7 04:06:36 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37159

--- Comment #6 from marc.bessieres at gmail.com ---
I got confused because I didn't use the suppression files from Austin
(https://github.com/austin987/wine_misc/blob/master/valgrind/valgrind-suppressions-known-bugs)
Especially the suppression named: bug_28766_1

So my bad correction was for:
==3328== Conditional jump or move depends on uninitialised value(s)
==3328==    at 0x582C4B2: bitmapinfoheader_from_user_bitmapinfo (dib.c:182)
==3328==    by 0x582EFEC: GetDIBits (dib.c:1233)
==3328==    by 0x6E02A09: create_icon_pixmaps (window.c:546)
==3328==    by 0x6E02FB3: fetch_icon_data (window.c:631)
==3328==    by 0x6E07D26: X11DRV_WindowPosChanged (window.c:2325)
==3328==    by 0x565597E: set_window_pos (winpos.c:2150)
==3328==    by 0x5655C35: USER_SetWindowPos (winpos.c:2223)
==3328==    by 0x5655F77: SetWindowPos (winpos.c:2297)
==3328==    by 0x56527E6: show_window (winpos.c:1122)
==3328==    by 0x5652AFE: ShowWindow (winpos.c:1220)
==3328==    by 0x564A086: WIN_CreateWindowEx (win.c:1667)
==3328==    by 0x564A2CE: CreateWindowExA (win.c:1719)
==3328==    by 0x516993D: new_window (editor.c:52)
==3328==    by 0x5169AA4: new_richedit (editor.c:69)
==3328==    by 0x516A713: test_EM_FINDTEXT (editor.c:332)
==3328==    by 0x519573F: func_editor (editor.c:7606)
==3328==    by 0x519FA85: run_test (test.h:584)
==3328==    by 0x519FE73: main (test.h:654)
==3328==  Uninitialised value was created by a stack allocation
==3328==    at 0x6E02904: create_icon_pixmaps (window.c:531)

Which is in fact bug 30827. I'll continue working on a solution over there.

So in my opinion this bug can be closed as resolved.

Cheers,
Marc

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