}
// Set public key and/or public key token (if we have it)
- if (pvPublicKeyToken && dwPublicKeyToken)
+ if (dwPublicKeyToken && pvPublicKeyToken)
{
SBuffer publicKeyOrTokenBLOB((const BYTE *) pvPublicKeyToken, dwPublicKeyToken);
// ss_size is >= MINSIGSTKSZ even in this case.
ss.ss_size = MINSIGSTKSZ;
ss.ss_flags = SS_DISABLE;
+ ss.ss_sp = NULL;
int st = sigaltstack(&ss, &oss);
if ((st == 0) && (oss.ss_flags != SS_DISABLE))
{
}
CONTRACTL_END;
- CONTEXT ctx;
+ CONTEXT ctx = { 0 };
KNONVOLATILE_CONTEXT_POINTERS nonVolRegPtrs;
ctx.Rip = baseState->m_CaptureRip;