mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
updated for version 7.3.773
Problem: Crash when OriginalFirstThunk is zero. Solution: Skip items with OriginalFirstThunk not set. (Ken Takata)
This commit is contained in:
parent
8c4fbd1a15
commit
b5f7bf6ed9
@ -4317,6 +4317,8 @@ get_iconv_import_func(HINSTANCE hInst, const char *funcname)
|
|||||||
.VirtualAddress);
|
.VirtualAddress);
|
||||||
for (; pImpDesc->FirstThunk; ++pImpDesc)
|
for (; pImpDesc->FirstThunk; ++pImpDesc)
|
||||||
{
|
{
|
||||||
|
if (!pImpDesc->OriginalFirstThunk)
|
||||||
|
continue;
|
||||||
pIAT = (PIMAGE_THUNK_DATA)(pImage + pImpDesc->FirstThunk);
|
pIAT = (PIMAGE_THUNK_DATA)(pImage + pImpDesc->FirstThunk);
|
||||||
pINT = (PIMAGE_THUNK_DATA)(pImage + pImpDesc->OriginalFirstThunk);
|
pINT = (PIMAGE_THUNK_DATA)(pImage + pImpDesc->OriginalFirstThunk);
|
||||||
for (; pIAT->u1.Function; ++pIAT, ++pINT)
|
for (; pIAT->u1.Function; ++pIAT, ++pINT)
|
||||||
|
@ -725,6 +725,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
773,
|
||||||
/**/
|
/**/
|
||||||
772,
|
772,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user