1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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

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;
}
}