mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01: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
|
|
@ -363,7 +363,7 @@ get_prebuffer(UNUSED(Param pm))
|
|||
static char *
|
||||
get_widget(UNUSED(Param pm))
|
||||
{
|
||||
return bindk->nam;
|
||||
return bindk ? bindk->nam : "";
|
||||
}
|
||||
|
||||
/**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue