mirror of
https://github.com/curl/curl.git
synced 2026-07-27 21:03:07 +03:00
ssh: Fixed a NULL pointer dereference on OOM condition
This commit is contained in:
parent
265f2e9ed7
commit
4a8c877273
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue