Module: wine
Branch: master
Commit: f799bf025b2ac5db7e51db134facdf9b60c03593
URL: https://gitlab.winehq.org/wine/wine/-/commit/f799bf025b2ac5db7e51db134facdf…
Author: Eric Pouech <epouech(a)codeweavers.com>
Date: Mon Mar 11 16:04:05 2024 +0100
dbghelp: Don't write minidump from running thread.
In case a minidump is written from current process, create
a dedicated thread to write the minidump (and hide that thread
from the minidump).
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
---
dlls/dbghelp/dbghelp_private.h | 4 +-
dlls/dbghelp/minidump.c | 248 +++++++++++++++++++++++------------------
dlls/dbghelp/tests/minidump.c | 8 +-
3 files changed, 144 insertions(+), 116 deletions(-)