From: Dan Fandrich Date: Thu, 6 Feb 2014 22:53:48 +0000 (+0100) Subject: ssh: Fixed a NULL pointer dereference on OOM condition X-Git-Tag: curl-7_36_0~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a8c87727339428837ecfa9a468520fd89148589;p=thirdparty%2Fcurl.git ssh: Fixed a NULL pointer dereference on OOM condition --- diff --git a/lib/ssh.c b/lib/ssh.c index 80906d814d..f1e026e9a9 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -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; } }