diff options
author | Nick Hengeveld <nickh@reactrix.com> | 2006-05-31 16:25:03 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-31 18:24:05 -0700 |
commit | 9094950d738176db2c0d9d7e4e3843c056a5d222 (patch) | |
tree | dd16af3d956ca8d2e78e95538374accc0e9485b2 /contrib/git-svn/git-svn.perl | |
parent | Remove possible segfault in http-fetch. (diff) | |
download | tgif-9094950d738176db2c0d9d7e4e3843c056a5d222.tar.xz |
http: prevent segfault during curl handle reuse
If a curl handle is configured with special options, they may reference
information that is freed after the request is complete which can cause
a segfault if the curl handle is reused for a different type of request.
This patch resets these options to a safe state when a transfer slot is
assigned to a new request.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/git-svn/git-svn.perl')
0 files changed, 0 insertions, 0 deletions