gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 171/254: ssh: fix 'left' may be used uninitialized


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 171/254: ssh: fix 'left' may be used uninitialized
Date: Sat, 17 Jun 2017 16:53:23 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 59cc0234e5be31d40aa91951984e8e00ca54f0ec
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu May 25 13:01:44 2017 +0200

    ssh: fix 'left' may be used uninitialized
    
    follow-up to f31760e63b4e
    
    Reported-by: Michael Kaufmann
    Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793
---
 lib/ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ssh.c b/lib/ssh.c
index 3670c750a..00aeca978 100644
--- 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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]