diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-28 13:08:47 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-28 13:08:47 +0000 |
commit | bd7632079045b1b6d0dee498c40833b409cf757e (patch) | |
tree | 37f449de06916871bb574dc9795aec6e4a510dfe /Src/Zle/compresult.c | |
parent | 934c891c61daac95ee6d8ebd92628e003cc33839 (diff) | |
download | zsh-bd7632079045b1b6d0dee498c40833b409cf757e.tar.gz zsh-bd7632079045b1b6d0dee498c40833b409cf757e.tar.xz zsh-bd7632079045b1b6d0dee498c40833b409cf757e.zip |
23478: crash in reverse-menu-complete if no completion
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r-- | Src/Zle/compresult.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index ebfb2cc47..62a35122f 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -1227,6 +1227,9 @@ reverse_menu(UNUSED(Hookdef dummy), UNUSED(void *dummy2)) { int was_meta; + if (minfo.cur == NULL) + return 1; + do { if (minfo.cur == (minfo.group)->matches) { do { |