summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Src/Zle/complist.c1
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c8a6d568..621ac6ec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-20  Peter Stephenson  <pws@csr.com>
+
+	* 26373: Src/Zle/complist.c: initialise variable in menu
+	completion in attempt to prevent crash when starting
+	a new completion.
+
 2009-01-20  Doug Kearns  <dougkearns@gmail.com>
 
 	* 26372: Completion/Unix/Command/_antiword: update for version
@@ -10957,5 +10963,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4519 $                         
+* $Revision: 1.4520 $                         
 *****************************************************
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index cd205692c..1b6dd083a 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2421,6 +2421,7 @@ domenuselect(Hookdef dummy, Chdata dat)
     mlines = 999999;
     mlbeg = 0;
     molbeg = -42;
+    mtab_been_reallocated = 0;
     for (;;) {
 	METACHECK();