Commits

Anonymous committed 3db9aee

updated for version 7.3.773
Problem: Crash when OriginalFirstThunk is zero.
Solution: Skip items with OriginalFirstThunk not set. (Ken Takata)

Comments (0)

Files changed (2)

 							    .VirtualAddress);
     for (; pImpDesc->FirstThunk; ++pImpDesc)
     {
+	if (!pImpDesc->OriginalFirstThunk)
+	    continue;
 	pIAT = (PIMAGE_THUNK_DATA)(pImage + pImpDesc->FirstThunk);
 	pINT = (PIMAGE_THUNK_DATA)(pImage + pImpDesc->OriginalFirstThunk);
 	for (; pIAT->u1.Function; ++pIAT, ++pINT)
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    773,
+/**/
     772,
 /**/
     771,