Patch 7.3.773 (after 7.3.767)
Problem:    Crash when OriginalFirstThunk is zero.
Solution:   Skip items with OriginalFirstThunk not set. (Ken Takata)
Files:      src/mbyte.c


*** ../vim-7.3.772/src/mbyte.c  2013-01-17 14:39:43.000000000 +0100
--- src/mbyte.c 2013-01-19 13:59:21.000000000 +0100
***************
*** 4317,4322 ****
--- 4317,4324 ----
                                                            .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)
*** ../vim-7.3.772/src/version.c        2013-01-17 18:33:58.000000000 +0100
--- src/version.c       2013-01-19 14:01:50.000000000 +0100
***************
*** 727,728 ****
--- 727,730 ----
  {   /* Add new patch number below this line */
+ /**/
+     773,
  /**/

-- 
Experience is what you get when you don't get what you want.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui