https://bugs.winehq.org/show_bug.cgi?id=49590
--- Comment #11 from Paul Gofman pgofman@codeweavers.com --- Here is the fix for another heap corruption I found: https://www.winehq.org/pipermail/wine-devel/2020-July/170551.html
With the patch from comment #10 and this one Agent is not crashing for me anymore (no Staging patches disabled, ntdll-Heap_Improvements is in place) and I don't see heap validation errors so far.