Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 650483 Details for
Bug 873789
curl segfaults when sftp uploading file into fifo file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
backport of upstream 1b15b31c
curl-7.19.7-bz873789.patch (text/plain), 1.06 KB, created by
Kamil Dudka
on 2012-11-23 14:59:51 UTC
(
hide
)
Description:
backport of upstream 1b15b31c
Filename:
MIME Type:
Creator:
Kamil Dudka
Created:
2012-11-23 14:59:51 UTC
Size:
1.06 KB
patch
obsolete
>From e5a64538935b8a97a67218b91ab2f92122f637df Mon Sep 17 00:00:00 2001 >From: Daniel Stenberg <daniel@haxx.se> >Date: Sat, 19 Jun 2010 00:18:14 +0200 >Subject: [PATCH] sendrecv: treat all negative values from send/recv as errors > >For example the libssh2 based functions return other negative >values than -1 to signal errors and it is important that we catch >them properly. Right before this, various failures from libssh2 >were treated as negative download amounts which caused havoc. > >[upstream commit 1b15b31c8631a4a271f15c4261331dcebec9ba47] > >Signed-off-by: Kamil Dudka <kdudka@redhat.com> >--- > lib/sendf.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/lib/sendf.c b/lib/sendf.c >index 1488088..60ad99b 100644 >--- a/lib/sendf.c >+++ b/lib/sendf.c >@@ -291,7 +291,7 @@ CURLcode Curl_write(struct connectdata *conn, > bytes_written = send_plain(conn, num, mem, len); > > *written = bytes_written; >- if(-1 == bytes_written) >+ if(bytes_written < 0) > /* send error */ > return (do_ssl && conn->ssl[num].err) > ? (conn->ssl[num].err) >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ovasik
: review+
Actions:
View
|
Diff
Attachments on
bug 873789
: 650483