about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-20 10:42:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-20 10:42:08 +0000
commit52bb631ccbe563793c5cd1ca837c789c3f8bb27b (patch)
treed5bc9b8902d0c32bb0a751cf0dc52f0eb3645da3 /Src
parent7361b28c9c248129f785a52d36944a983b110c21 (diff)
downloadzsh-52bb631ccbe563793c5cd1ca837c789c3f8bb27b.tar.gz
zsh-52bb631ccbe563793c5cd1ca837c789c3f8bb27b.tar.xz
zsh-52bb631ccbe563793c5cd1ca837c789c3f8bb27b.zip
26373: initialise variable in menu completion in attempt to prevent crash
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c1
1 files changed, 1 insertions, 0 deletions
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();