cygwin: initialize variable for stack unwinding

The third argument of RtlLookupFunctionEntry actually is documented as
_Inout_opt_ for both x64 and ARM, although generic doc says _Out_ only.

* exceptions.cc (__unwind_single_frame): Initialize hist variable.
This commit is contained in:
Michael Haubenwallner 2017-10-09 17:37:40 +02:00 committed by Corinna Vinschen
parent 7346a162f2
commit 4bee8c48df
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ __unwind_single_frame (PCONTEXT ctx)
{
PRUNTIME_FUNCTION f;
ULONG64 imagebase;
UNWIND_HISTORY_TABLE hist;
UNWIND_HISTORY_TABLE hist = {0};
DWORD64 establisher;
PVOID hdl;