Patch 7.3.1292
Problem: Possibly using invalid pointer when searcing for window. (Raichoo)
Solution: Use "firstwin" instead of "tp_firstwin" for current tab.
Files: src/window.c
*** ../vim-7.3.1291/src/window.c 2013-06-28 20:16:50.000000000 +0200
--- src/window.c 2013-07-03 13:53:59.000000000 +0200
***************
*** 4077,4083 ****
tabpage_T *tp;
for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
! for (wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next)
if (wp == win)
return tp;
return NULL;
--- 4077,4084 ----
tabpage_T *tp;
for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
! for (wp = (tp == curtab ? firstwin : tp->tp_firstwin);
! wp != NULL; wp = wp->w_next)
if (wp == win)
return tp;
return NULL;
*** ../vim-7.3.1291/src/version.c 2013-07-03 13:29:55.000000000 +0200
--- src/version.c 2013-07-03 13:57:01.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
{ /* Add new patch number below this line */
+ /**/
+ 1292,
/**/
--
There can't be a crisis today, my schedule is already full.
/// 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.