[Bug 43392] New: valgrind shows a couple invalid reads in programs/regedit /tests/regedit.c
https://bugs.winehq.org/show_bug.cgi?id=43392 Bug ID: 43392 Summary: valgrind shows a couple invalid reads in programs/regedit/tests/regedit.c Product: Wine Version: 2.12 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: minor Priority: P2 Component: programs Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com Distribution: Gentoo ==8309== Invalid read of size 2 ==8309== at 0x4A18346: REGPROC_unescape_string (regproc.c:427) ==8309== by 0x4A18D3E: quoted_value_name_state (regproc.c:729) ==8309== by 0x4A1AFA3: import_registry_file (regproc.c:1569) ==8309== by 0x4A17322: PerformRegAction (regedit.c:145) ==8309== by 0x4A17681: ProcessCmdLine (regedit.c:242) ==8309== by 0x4A16B4C: wWinMain (main.c:142) ==8309== by 0x4A1D51C: wmain (exe_wmain.c:51) ==8309== by 0x4A1D3F5: __wine_spec_exe_wentry (exe_wentry.c:36) ==8309== by 0x7B46BDB3: ??? (process.c:1065) ==8309== by 0x7B46BF08: start_process (process.c:1116) ==8309== by 0x7BC913B3: ??? (signal_i386.c:2700) ==8309== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==8309== by 0x7BC91391: ??? (signal_i386.c:2700) ==8309== by 0x7BC5FDE8: start_process (loader.c:3083) ==8309== by 0x40413EC: ??? (port.c:78) ==8309== Address 0x48735ce is 0 bytes after a recently re-allocated block of size 14 alloc'd ==8309== at 0x7BC51061: notify_alloc (heap.c:254) ==8309== by 0x7BC5554F: RtlAllocateHeap (heap.c:1716) ==8309== by 0x4A17A1E: GetWideString (regproc.c:65) ==8309== by 0x4A19766: get_lineA (regproc.c:1005) ==8309== by 0x4A18AEC: line_start_state (regproc.c:647) ==8309== by 0x4A1AFA3: import_registry_file (regproc.c:1569) ==8309== by 0x4A17322: PerformRegAction (regedit.c:145) ==8309== by 0x4A17681: ProcessCmdLine (regedit.c:242) ==8309== by 0x4A16B4C: wWinMain (main.c:142) ==8309== by 0x4A1D51C: wmain (exe_wmain.c:51) ==8309== by 0x4A1D3F5: __wine_spec_exe_wentry (exe_wentry.c:36) ==8309== by 0x7B46BDB3: ??? (process.c:1065) ==8309== by 0x7B46BF08: start_process (process.c:1116) ==8309== by 0x7BC913B3: ??? (signal_i386.c:2700) ==8309== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==8309== by 0x7BC91391: ??? (signal_i386.c:2700) ==8309== by 0x7BC5FDE8: start_process (loader.c:3083) ==8309== by 0x40413EC: ??? (port.c:78) ==8309== ==8313== Invalid read of size 2 ==8313== at 0x4A18346: REGPROC_unescape_string (regproc.c:427) ==8313== by 0x4A19097: string_data_state (regproc.c:823) ==8313== by 0x4A1AFA3: import_registry_file (regproc.c:1569) ==8313== by 0x4A17322: PerformRegAction (regedit.c:145) ==8313== by 0x4A17681: ProcessCmdLine (regedit.c:242) ==8313== by 0x4A16B4C: wWinMain (main.c:142) ==8313== by 0x4A1D51C: wmain (exe_wmain.c:51) ==8313== by 0x4A1D3F5: __wine_spec_exe_wentry (exe_wentry.c:36) ==8313== by 0x7B46BDB3: ??? (process.c:1065) ==8313== by 0x7B46BF08: start_process (process.c:1116) ==8313== by 0x7BC913B3: ??? (signal_i386.c:2700) ==8313== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==8313== by 0x7BC91391: ??? (signal_i386.c:2700) ==8313== by 0x7BC5FDE8: start_process (loader.c:3083) ==8313== by 0x40413EC: ??? (port.c:78) ==8313== Address 0x48775f4 is 0 bytes after a recently re-allocated block of size 36 alloc'd ==8313== at 0x7BC51061: notify_alloc (heap.c:254) ==8313== by 0x7BC5554F: RtlAllocateHeap (heap.c:1716) ==8313== by 0x4A17A1E: GetWideString (regproc.c:65) ==8313== by 0x4A19766: get_lineA (regproc.c:1005) ==8313== by 0x4A18AEC: line_start_state (regproc.c:647) ==8313== by 0x4A1AFA3: import_registry_file (regproc.c:1569) ==8313== by 0x4A17322: PerformRegAction (regedit.c:145) ==8313== by 0x4A17681: ProcessCmdLine (regedit.c:242) ==8313== by 0x4A16B4C: wWinMain (main.c:142) ==8313== by 0x4A1D51C: wmain (exe_wmain.c:51) ==8313== by 0x4A1D3F5: __wine_spec_exe_wentry (exe_wentry.c:36) ==8313== by 0x7B46BDB3: ??? (process.c:1065) ==8313== by 0x7B46BF08: start_process (process.c:1116) ==8313== by 0x7BC913B3: ??? (signal_i386.c:2700) ==8313== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==8313== by 0x7BC91391: ??? (signal_i386.c:2700) ==8313== by 0x7BC5FDE8: start_process (loader.c:3083) ==8313== by 0x40413EC: ??? (port.c:78) ==8313== -- 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=43392 Hugh McMaster <hugh.mcmaster(a)outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster(a)outlook.com --- Comment #1 from Hugh McMaster <hugh.mcmaster(a)outlook.com> --- Should be fixed by commit 976c2aa649a526188afd9c0647869ccc82068341. -- 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=43392 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |976c2aa649a526188afd9c06478 | |69ccc82068341 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Marking fixed, 976c2aa649a526188afd9c0647869ccc82068341. -- 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=43392 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.16. -- 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=43392 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- 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=43392 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #4 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.3. -- 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