https://bugs.winehq.org/show_bug.cgi?id=49666
Bug ID: 49666 Summary: Red Dead Redemption 2 requires HEAP flags offset to match Windows Product: Wine Version: 5.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: bshanks@codeweavers.com Distribution: ---
Red Dead Redemption 2 gets ProcessHeap from the PEB, and directly accesses the 'flags' and 'force_flags' fields of the HEAP structure.
Those fields need to be at the same offset as they are on WinVista through current Win10, 0x40/0x70. Wine currently pads the struct so 'flags' is in the correct place (0xC) vs. WinNT/2000/XP
https://ctf-wiki.github.io/ctf-wiki/reverse/windows/anti-debug/heap-flags/
https://bugs.winehq.org/show_bug.cgi?id=49666
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=49666
Brendan Shanks bshanks@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |fd80e0300cbec55fe637714d3b0 | |2128616cdd570
--- Comment #1 from Brendan Shanks bshanks@codeweavers.com --- Fixed by fd80e0300cbec55fe637714d3b02128616cdd570
https://bugs.winehq.org/show_bug.cgi?id=49666
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.15.
https://bugs.winehq.org/show_bug.cgi?id=49666
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=49666
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.3.