Skip to content

Commit

Permalink
Avoid NULL pointer dereference in terminal_screen_child_exited
Browse files Browse the repository at this point in the history
Fixes #314
  • Loading branch information
rbuj authored and raveit65 committed Dec 17, 2019
1 parent 5ba65e4 commit fe73da9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/terminal-screen.c
Expand Up @@ -1946,6 +1946,9 @@ terminal_screen_child_exited (VteTerminal *terminal, int status)
break;
case TERMINAL_EXIT_HOLD:
{
if ((status == 9) && (priv->override_command == NULL))
break;

GtkWidget *info_bar;

info_bar = terminal_info_bar_new (GTK_MESSAGE_INFO,
Expand Down

0 comments on commit fe73da9

Please sign in to comment.