From 4a8c87727339428837ecfa9a468520fd89148589 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 6 Feb 2014 23:53:48 +0100 Subject: [PATCH] ssh: Fixed a NULL pointer dereference on OOM condition --- lib/ssh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ssh.c b/lib/ssh.c index 80906d8..f1e026e 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; } } -- 2.7.4