updated for version 7.3.1292
Problem: Possibly using invalid pointer when searcing for window. (Raichoo)
Solution: Use "firstwin" instead of "tp_firstwin" for current tab.
diff --git a/src/window.c b/src/window.c
index 54ab200..2435952 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4077,7 +4077,8 @@
tabpage_T *tp;
for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
- for (wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next)
+ for (wp = (tp == curtab ? firstwin : tp->tp_firstwin);
+ wp != NULL; wp = wp->w_next)
if (wp == win)
return tp;
return NULL;