[SEH] Zero-initialize EXCEPTION_RECORD and UNWIND_HISTORY_TABLE before calling RtlUnwindEx

This fixes PR39935.

git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@348836 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/Unwind-seh.cpp b/src/Unwind-seh.cpp
index 73616a8..73a950a 100644
--- a/src/Unwind-seh.cpp
+++ b/src/Unwind-seh.cpp
@@ -374,6 +374,8 @@
     CONTEXT ms_ctx;
     UNWIND_HISTORY_TABLE hist;
 
+    memset(&ms_exc, 0, sizeof(ms_exc));
+    memset(&hist, 0, sizeof(hist));
     ms_exc.ExceptionCode = STATUS_GCC_THROW;
     ms_exc.ExceptionFlags = EXCEPTION_NONCONTINUABLE;
     ms_exc.NumberParameters = 4;