From 4a8c87727339428837ecfa9a468520fd89148589 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 6 Feb 2014 23:53:48 +0100 Subject: ssh: Fixed a NULL pointer dereference on OOM condition --- lib/ssh.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ssh.c') 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; } } -- cgit v1.2.1