Commit 2cb0e84f authored by Tk-Glitch's avatar Tk-Glitch

community-patches: wine-tkg-git: Remove wolcen blobhead workaround now that...

community-patches: wine-tkg-git: Remove wolcen blobhead workaround now that the issue has been resolved by a game update
parent 992dd771
......@@ -17,7 +17,6 @@
- detroit_BH.mypatch : Allows Detroit: Become Human to run and fix low performance - https://bugs.winehq.org/show_bug.cgi?id=48291
- monster_hunter_world_hacky_fix.mypatch : Hacky fix for the terrible performance introduced with patch VU10.12.00 - May affect other games and apps negatively, so use at your own risk - From Guy1524 https://github.com/ValveSoftware/Proton/issues/175#issuecomment-574365695
- blackops2_unhandled_exception_fix.mypatch : Fix for the Unhandled Exception crash of Call of Duty - Black Ops 2 on start up - https://bugs.winehq.org/show_bug.cgi?id=46472
- wolcen_blobhead_workaround.mypatch : Paul Gofman's workaround for Wolcen: Lords of Mayhem main character having a blob head - rebased for use with staging - https://bugs.winehq.org/show_bug.cgi?id=48700#c17 (see link for non-staging version of the patch)
- NFSWLauncherfix.mypatch : Fix for Need for Speed World's SBRW launcher - https://github.com/SoapboxRaceWorld/wine
WoW d3d12 fixes - **Requires using vkd3d patched with [Support_RS_1.0_Volatile patch](https://github.com/Tk-Glitch/PKGBUILDS/blob/master/community-patches/vkd3d-git/Support_RS_1.0_Volatile.myvkd3dpatch)** :
......
From bad26eab9afd475b69fe3a9320583f90722216fb Mon Sep 17 00:00:00 2001
From: Paul Gofman <gofmanp@gmail.com>
Date: Tue, 10 Mar 2020 20:01:51 +0300
Subject: [PATCH] ntdll: Tweak heap arena size to help some use after free
scenarios.
---
dlls/ntdll/heap.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c
index d7232b47d6..5ca7ad8e21 100644
--- a/dlls/ntdll/heap.c
+++ b/dlls/ntdll/heap.c
@@ -56,6 +56,7 @@ typedef struct tagARENA_INUSE
DWORD size; /* Block size; must be the first field */
DWORD magic : 24; /* Magic number */
DWORD unused_bytes : 8; /* Number of bytes in the block not used by user data (max value is HEAP_MIN_DATA_SIZE+HEAP_MIN_SHRINK_SIZE) */
+ char reserved[16];
} ARENA_INUSE;
typedef struct tagARENA_FREE
@@ -91,7 +92,7 @@ typedef struct
#define ARENA_FREE_FILLER 0xfeeefeee
/* everything is aligned on 8 byte boundaries (16 for Win64) */
-#define ALIGNMENT (2*sizeof(void*))
+#define ALIGNMENT (32)
#define LARGE_ALIGNMENT 16 /* large blocks have stricter alignment */
#define ARENA_OFFSET (ALIGNMENT - sizeof(ARENA_INUSE))
--
2.24.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment