Added failure scenario to AutoGenerate function, to prevent Run-Time Check Failure #3 - The variable 'SigIterator' is being used without being initialized.

This commit is contained in:
gir489
2018-06-30 22:35:02 -04:00
committed by Robert Blody
parent 7a634c7fde
commit fc4a76dd4f

View File

@@ -400,6 +400,11 @@ void GenerateSig( SigType eType )
} }
} }
} }
else
{
msg("Failed to automatically generate signature at %X\n", dwAddress);
return;
}
qstring strSig = (*SigIterator).strSig, strTmp; qstring strSig = (*SigIterator).strSig, strTmp;
char szMask[MAXSTR]; char szMask[MAXSTR];