Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2020-10-30 20:01:20 +00:00
2 changed files with 8 additions and 3 deletions

View File

@ -2023,7 +2023,7 @@ server_client_dispatch(struct imsg *imsg, void *arg)
break;
c->flags &= ~CLIENT_SUSPENDED;
if (c->fd == -1) /* exited in the meantime */
if (c->fd == -1 || c->session == NULL) /* exited already */
break;
s = c->session;