]> granicus.if.org Git - curl/commit
SFTP: gracefully handle shutdown early
authorDaniel Stenberg <daniel@haxx.se>
Sat, 12 Mar 2011 23:15:59 +0000 (00:15 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 12 Mar 2011 23:15:59 +0000 (00:15 +0100)
commit60172a0446bbe3f8bf1c7b066a03b7febfc96ceb
tree8da3ec0cded9704d67df84ab7235b35350f02396
parentc042340b2a8d503488a93e48b79878158606bd16
SFTP: gracefully handle shutdown early

When using the multi interface and a handle using SFTP was removed very
early on, we would get a segfault due to the code assumed data was there
that hadn't yet been setup.

Bug: http://curl.haxx.se/mail/lib-2011-03/0066.html
Reported by: Saqib Ali
lib/ssh.c