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 658097 Details for
Bug 857875
write callback: No safe way to signal user abort
[?]
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]
Updated version of the previous patch
python-pycurl-write_callback.patch (text/plain), 953 bytes, created by
Jan Synacek
on 2012-12-05 09:39:25 UTC
(
hide
)
Description:
Updated version of the previous patch
Filename:
MIME Type:
Creator:
Jan Synacek
Created:
2012-12-05 09:39:25 UTC
Size:
953 bytes
patch
obsolete
>--- pycurl-7.19.0/src/pycurl.c.orig 2012-12-05 10:36:19.000000000 +0100 >+++ pycurl-7.19.0/src/pycurl.c 2012-12-05 10:36:52.734573264 +0100 >@@ -1086,7 +1086,7 @@ util_write_callback(int flags, char *ptr > } > else if (PyInt_Check(result)) { > long obj_size = PyInt_AsLong(result); >- if (obj_size < 0 || obj_size > total_size) { >+ if (obj_size < 0) { > PyErr_Format(ErrorObject, "invalid return value for write callback %ld %ld", (long)obj_size, (long)total_size); > goto verbose_error; > } >@@ -1094,7 +1094,7 @@ util_write_callback(int flags, char *ptr > } > else if (PyLong_Check(result)) { > long obj_size = PyLong_AsLong(result); >- if (obj_size < 0 || obj_size > total_size) { >+ if (obj_size < 0) { > PyErr_Format(ErrorObject, "invalid return value for write callback %ld %ld", (long)obj_size, (long)total_size); > goto verbose_error; > }
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
Actions:
View
|
Diff
Attachments on
bug 857875
:
613627
|
658097
|
703018
|
703490
|
703505
|
703527
|
705949