|   | 
  | 
| 
 
  | 
cURL   Mailing List   Monthly Index   Single Mail
curl-tracker Archives
 [ curl-Bugs-3544688 ] crash during retry with libcurl and SFTP
From: SourceForge.net <noreply_at_sourceforge.net>
 
Date: Tue, 07 Aug 2012 05:57:52 -0700 
Bugs item #3544688, was opened at 2012-07-16 10:54
 Please note that this message will contain a full copy of the comment thread,
 Initial Comment:
 https://github.com/bagder/curl/blob/master/lib/transfer.c line 2059
 Following stacktrace was reached, which caused a crash. I believe it's due to the lack of a protocol check before doing the writebytecount
 #0  0x0000003ddd761c31 in fseek () from /lib64/tls/libc.so.6
 Note that at this point, protocol is SFTP, not HTTP
 See attached patch for proposed fix.
 Curllib version 7.21.6, but I think latest has it as well.
 Thanks.
 ----------------------------------------------------------------------
 Comment By: Daniel Stenberg (bagder)
 Message:
 To try it out, you either checkout/update your git clone:
 or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/
 ----------------------------------------------------------------------
 You can respond by visiting: 
 These mail archives are generated by hypermail.  | 
Page updated January 05, 2012.
web site info