https://bugs.winehq.org/show_bug.cgi?id=40222
Bug ID: 40222 Summary: IMalloc(Spy)::Free nullptr Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@winehq.org Reporter: learn0more+wine@gmail.com Distribution: ---
Created attachment 53739 --> https://bugs.winehq.org/attachment.cgi?id=53739 the binary triggering the bug.
Calling IMalloc::Free with a nullptr should not invoke the IMallocSpy. (IMalloc_fnFree)
Bug encountered in ReactOS (Where the IMallocSpy implementation from wine is used). See: https://jira.reactos.org/browse/CORE-10903
Also verified on wine. Attached binary invokes the invalid behavior on ReactOS and Wine, and not on Windows.
(Run: `wine atl_apitest.exe CComHeapPtr`)
Patchbot run: https://testbot.winehq.org/JobDetails.pl?Key=20921
https://bugs.winehq.org/show_bug.cgi?id=40222
--- Comment #1 from Mark Jansen learn0more+wine@gmail.com --- Created attachment 53740 --> https://bugs.winehq.org/attachment.cgi?id=53740 The output on wine
https://bugs.winehq.org/show_bug.cgi?id=40222
Mark Jansen learn0more+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.7.53
https://bugs.winehq.org/show_bug.cgi?id=40222
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=40222
Mark Jansen learn0more+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #53740|0 |1 is obsolete| |
--- Comment #2 from Mark Jansen learn0more+wine@gmail.com --- Created attachment 53741 --> https://bugs.winehq.org/attachment.cgi?id=53741 Output on wine staging 1.9.4
https://bugs.winehq.org/show_bug.cgi?id=40222
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- I sent a fix for that https://www.winehq.org/pipermail/wine-patches/2016-March/147859.html. Thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=40222
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |110665a3d88d68e0076a435c1e6 | |a1522a964942c Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/?a=commit;h=110665a3d88d68e0076a435c1e....
https://bugs.winehq.org/show_bug.cgi?id=40222
--- Comment #5 from Mark Jansen learn0more+wine@gmail.com --- Thanks!
https://bugs.winehq.org/show_bug.cgi?id=40222
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=40222
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.6.
https://bugs.winehq.org/show_bug.cgi?id=40222
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #7 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.