From cd701f6f708ae03c474b1d7e9444d36fc2da3f85 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Fri, 13 Oct 2023 11:48:38 -0400 Subject: [PATCH] crashHandlingProviderTestCrash: Implement for other platforms --- src/wzcrashhandlingproviders.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wzcrashhandlingproviders.cpp b/src/wzcrashhandlingproviders.cpp index 4a89548abfc..cd7ef03d7ab 100644 --- a/src/wzcrashhandlingproviders.cpp +++ b/src/wzcrashhandlingproviders.cpp @@ -475,7 +475,8 @@ bool crashHandlingProviderTestCrash() RaiseException(0xE000DEAD, EXCEPTION_NONCONTINUABLE, 0, 0); return false; # else - // future todo: implement for other platforms + static void *invalid_mem = (void *)1; + memset((char *)invalid_mem, 1, 100); return false; # endif #else