mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
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:
parent
7346a162f2
commit
4bee8c48df
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user