-
- Downloads
Michal Marek forwarded the bug report
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to FTP that caused memory havoc. His work together with my efforts created two fixes: #1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with at connection cleanup, at which time the struct HandleData could be used by another connection. Also, the unused char *urlpath member is removed from struct FTP. #2 - provide a Curl_reset_reqproto() function that frees data->reqdata.proto.* on connection setup if needed (that is if the SessionHandle was used by a different connection).
Showing
- CHANGES 17 additions, 0 deletionsCHANGES
- RELEASE-NOTES 1 addition, 0 deletionsRELEASE-NOTES
- lib/file.c 15 additions, 13 deletionslib/file.c
- lib/ftp.c 51 additions, 41 deletionslib/ftp.c
- lib/http.c 5 additions, 2 deletionslib/http.c
- lib/ssh.c 3 additions, 4 deletionslib/ssh.c
- lib/url.c 16 additions, 0 deletionslib/url.c
- lib/url.h 5 additions, 0 deletionslib/url.h
- lib/urldata.h 3 additions, 2 deletionslib/urldata.h
Loading
Please register or sign in to comment