Patch 7.4.514 (after 7.4.492)
Problem: Memory access error. (Dominique Pelle)
Solution: Update tpos. (Christian Brabandt)
Files: src/edit.c
*** ../vim-7.4.513/src/edit.c 2014-10-31 19:20:30.782742928 +0100
--- src/edit.c 2014-11-12 18:53:10.890098796 +0100
***************
*** 6918,6923 ****
--- 6918,6925 ----
curwin->w_cursor = tpos;
else
{
+ /* reset tpos, could have been invalidated in the loop above */
+ tpos = curwin->w_cursor;
tpos.col++;
if (cc != NUL && gchar_pos(&tpos) == NUL)
++curwin->w_cursor.col; /* put cursor back on the NUL */
*** ../vim-7.4.513/src/version.c 2014-11-12 18:49:12.992752234 +0100
--- src/version.c 2014-11-12 18:52:50.738323726 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 514,
/**/
--
My girlfriend told me I should be more affectionate.
So I got TWO girlfriends.
/// 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/d/optout.