[PATCH v2 2/5] ntdll: When creating heap, don't delete the critical section debug info
dark.shadow4 at web.de
Wed Aug 15 14:39:44 CDT 2018
On Mittwoch, 15. August 2018 20:58:05 CEST Alexandre Julliard wrote:
> Fabian Maurer <dark.shadow4 at web.de> writes:
> > In RtlDestroyHeap critSection.DebugInfo->Spare
> > is always set to NULL,
> > this will crash if we deleted the debug info already
> Destroying a shared heap is not a good idea, where do you see that
It's one of those borderline sane behaviors I see the chromium sandbox using.
On Win10 they (for security reasons) sever the connection to csrss by closing the "ALPC
Then they close the shared heap to avoid problems.
> // Currently, this step requires closing a heap that this shared with csrss.exe.
> // Closing the ALPC Port handle to csrss.exe leaves this heap in an invalid
> // state. This causes problems if anyone enumerates the heap.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel