aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-02-06 23:53:48 +0100
committerDan Fandrich <dan@coneharvesters.com>2014-02-06 23:56:47 +0100
commit4a8c87727339428837ecfa9a468520fd89148589 (patch)
treec0d8301103a764f9d982ed5e0d6760dc1c091739 /lib
parent265f2e9ed79ad9788bd9de2972ae921ec70bd1a1 (diff)
ssh: Fixed a NULL pointer dereference on OOM condition
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 80906d814..f1e026e9a 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;
}
}