mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-30 19:20:53 +02:00
32448: fix seg fault if $WIDGET is accessed after recursive-edit is interrupted
This commit is contained in:
parent
1f290a3e82
commit
97115e0e7f
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
2014-03-03 Oliver Kiddle <opk@zsh.org>
|
2014-03-03 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 32448: Src/Zle/zle_params.c: fix seg fault after recursive-edit
|
||||||
|
|
||||||
* 32439 (with Yuri D'Elia): Completion/Base/Core/_main_complete:
|
* 32439 (with Yuri D'Elia): Completion/Base/Core/_main_complete:
|
||||||
add new show-ambiguity style
|
add new show-ambiguity style
|
||||||
|
|
||||||
|
|
|
@ -363,7 +363,7 @@ get_prebuffer(UNUSED(Param pm))
|
||||||
static char *
|
static char *
|
||||||
get_widget(UNUSED(Param pm))
|
get_widget(UNUSED(Param pm))
|
||||||
{
|
{
|
||||||
return bindk->nam;
|
return bindk ? bindk->nam : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
|
|
Loading…
Reference in a new issue