https://bugs.winehq.org/show_bug.cgi?id=48628
Bug ID: 48628 Summary: valgrind shows dependency on uninitialized memory in riched20/editor.c Product: Wine Version: 5.0-rc6 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
==152101== Conditional jump or move depends on uninitialised value(s) ==152101== at 0x403EE7A: bcmp (vg_replace_strmem.c:1113) ==152101== by 0x41837DEE: MSVCRT_memcmp (string.c:2235) ==152101== by 0x7AC534C0: ME_ApplyStyle (style.c:215) ==152101== by 0x7AC27E09: ME_RTFCharAttrHook (editor.c:539) ==152101== by 0x7AC3EE4C: ControlClass (reader.c:2363) ==152101== by 0x7AC3D06C: RTFRouteToken (reader.c:343) ==152101== by 0x7AC3CF85: RTFRead (reader.c:311) ==152101== by 0x7AC2ACA2: ME_StreamIn (editor.c:1688) ==152101== by 0x7AC2F719: ME_HandleMessage (editor.c:3629) ==152101== by 0x7AC336E1: RichEditWndProc_common (editor.c:5062) ==152101== by 0x7AC337AE: RichEditWndProcW (editor.c:5082) ==152101== by 0x4127588F: ??? (winproc.c:175) ==152101== Uninitialised value was created by a stack allocation ==152101== at 0x7AC27992: ME_RTFCharAttrHook (editor.c:418)