Patch 7.3.905 (after 7.3.903)
Problem:    Crash when writing viminfo. (Ron Aaron)
Solution:   Prevent freed history info to be used.
Files:      src/ex_getln.c


*** ../vim-7.3.904/src/ex_getln.c       2013-04-15 16:14:15.000000000 +0200
--- src/ex_getln.c      2013-04-15 22:12:33.000000000 +0200
***************
*** 6264,6269 ****
--- 6264,6270 ----
            vim_free(viminfo_history[type][i]);
        vim_free(viminfo_history[type]);
        viminfo_history[type] = NULL;
+       viminfo_hisidx[type] = 0;
      }
  }
  #endif /* FEAT_VIMINFO */
*** ../vim-7.3.904/src/version.c        2013-04-15 18:25:55.000000000 +0200
--- src/version.c       2013-04-15 22:19:03.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     905,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
180. You maintain more than six e-mail addresses.

 /// 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui