projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ab22a7
)
ssh: fix 'left' may be used uninitialized
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 25 May 2017 11:01:44 +0000
(13:01 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 25 May 2017 11:02:29 +0000
(13:02 +0200)
follow-up to
f31760e63b4e
Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/1495#issuecomment-
303982793
lib/ssh.c
patch
|
blob
|
history
diff --git
a/lib/ssh.c
b/lib/ssh.c
index 3670c750ad234cce8d6e2192da989d56353b9735..00aeca97810226c36463f61ef7839873e01ac3f7 100644
(file)
--- a/
lib/ssh.c
+++ b/
lib/ssh.c
@@
-2824,7
+2824,7
@@
static CURLcode ssh_block_statemach(struct connectdata *conn,
while((sshc->state != SSH_STOP) && !result) {
bool block;
- time_t left;
+ time_t left
= 1000
;
struct timeval now = Curl_tvnow();
result = ssh_statemach_act(conn, &block);