ssh: Fixed a NULL pointer dereference on OOM condition

This commit is contained in:
Dan Fandrich 2014-02-06 23:53:48 +01:00
parent 265f2e9ed7
commit 4a8c877273
1 changed files with 1 additions and 0 deletions

View File

@ -932,6 +932,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
infof(data, "Could not create agent object\n");
state(conn, SSH_AUTH_KEY_INIT);
break;
}
}