mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 15:01:40 +02:00
23144: Felix Eckhofer <felix@tribut.de>: NULL pointer in complist.c
This commit is contained in:
parent
54d692c4b5
commit
b2d709b22e
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2007-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 23144: Felix Eckhofer <felix@tribut.de>: Src/Zle/complist.c:
|
||||
NULL pointer when ending interactive search in menu select.
|
||||
|
||||
* 23143: Src/string.c, Src/subst.c: =-expansion failed
|
||||
when there were metacharacters in the following string,
|
||||
but still tried to expand it. It now succeeds.
|
||||
|
|
|
@ -2079,6 +2079,9 @@ msearchpop(int *backp)
|
|||
{
|
||||
Menusearch s = msearchstack;
|
||||
|
||||
if (!s)
|
||||
return NULL;
|
||||
|
||||
if (s->prev)
|
||||
msearchstack = s->prev;
|
||||
|
||||
|
|
Loading…
Reference in a new issue