Skip to content

Commit

Permalink
32448: fix seg fault if $WIDGET is accessed after recursive-edit is i…
Browse files Browse the repository at this point in the history
…nterrupted
  • Loading branch information
Oliver Kiddle committed Mar 3, 2014
1 parent 1f290a3 commit 97115e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,5 +1,7 @@
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:
add new show-ambiguity style

Expand Down
2 changes: 1 addition & 1 deletion Src/Zle/zle_params.c
Expand Up @@ -363,7 +363,7 @@ get_prebuffer(UNUSED(Param pm))
static char *
get_widget(UNUSED(Param pm))
{
return bindk->nam;
return bindk ? bindk->nam : "";
}

/**/
Expand Down

0 comments on commit 97115e0

Please sign in to comment.