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