[Bug 36287] New: valgrind shows some uninitialized memory use in kernel32/tests/format_msg.c
https://bugs.winehq.org/show_bug.cgi?id=36287 Bug ID: 36287 Summary: valgrind shows some uninitialized memory use in kernel32/tests/format_msg.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com ==28883== Conditional jump or move depends on uninitialised value(s) ==28883== at 0x7B844447: format_add_char (format_msg.c:300) ==28883== by 0x7B8449BF: format_message (format_msg.c:432) ==28883== by 0x7B844C59: FormatMessageA (format_msg.c:507) ==28883== by 0x4A75F89: test_message_wrap (format_msg.c:1013) ==28883== by 0x4A7B0C8: func_format_msg (format_msg.c:1785) ==28883== by 0x4B0C7A8: run_test (test.h:584) ==28883== by 0x4B0CB97: main (test.h:654) ==28883== Uninitialised value was created by a client request ==28883== at 0x7BC4C52C: mark_block_uninitialized (heap.c:209) ==28883== by 0x7BC4C697: initialize_block (heap.c:240) ==28883== by 0x7BC50FA3: RtlAllocateHeap (heap.c:1717) ==28883== by 0x7B84586B: HeapAlloc (heap.c:271) ==28883== by 0x7B844608: format_message (format_msg.c:337) ==28883== by 0x7B844C59: FormatMessageA (format_msg.c:507) ==28883== by 0x4A75F89: test_message_wrap (format_msg.c:1013) ==28883== by 0x4A7B0C8: func_format_msg (format_msg.c:1785) ==28883== by 0x4B0C7A8: run_test (test.h:584) ==28883== by 0x4B0CB97: main (test.h:654) ==28883== -- 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.
https://bugs.winehq.org/show_bug.cgi?id=36287 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind -- 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.
http://bugs.winehq.org/show_bug.cgi?id=36287 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #1 from Sebastian Lackner <sebastian(a)fds-team.de> --- Created attachment 48851 --> http://bugs.winehq.org/attachment.cgi?id=48851 kernel32: Fix a valgrind warning in format_add_char(). Does this patch help to fix the issue? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=36287 --- Comment #2 from Austin English <austinenglish(a)gmail.com> --- (In reply to Sebastian Lackner from comment #1)
Created attachment 48851 [details] kernel32: Fix a valgrind warning in format_add_char().
Does this patch help to fix the issue?
Works, thanks. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=36287 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |87a78ed8788e002afb4abd652fc | |40f1599a77c34 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- https://source.winehq.org/git/wine.git/commitdiff/87a78ed8788e002afb4abd652f... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=36287 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.21. -- 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.
participants (1)
-
wine-bugs@winehq.org