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 682231 Details for
Bug 896025
curl_obj.reset() does not set up the default PYCURL_ERRORBUFFER
[?]
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]
Reinitialize PYCURL_ERRORBUFFER after reset
reset-reinits-errorbuffer.patch (text/plain), 568 bytes, created by
Zdeněk Pavlas
on 2013-01-18 09:32:11 UTC
(
hide
)
Description:
Reinitialize PYCURL_ERRORBUFFER after reset
Filename:
MIME Type:
Creator:
Zdeněk Pavlas
Created:
2013-01-18 09:32:11 UTC
Size:
568 bytes
patch
obsolete
>diff -up pycurl-7.19.0/src/pycurl.c.orig pycurl-7.19.0/src/pycurl.c >--- pycurl-7.19.0/src/pycurl.c.orig 2013-01-18 10:12:03.269739126 +0100 >+++ pycurl-7.19.0/src/pycurl.c 2013-01-18 10:20:46.663775452 +0100 >@@ -1428,6 +1428,10 @@ do_curl_reset(CurlObject *self) > > curl_easy_reset(self->handle); > >+ /* Set curl error buffer and zero it */ >+ curl_easy_setopt(self->handle, CURLOPT_ERRORBUFFER, self->error); >+ memset(self->error, 0, sizeof(self->error)); >+ > /* Decref callbacks and file handles */ > util_curl_xdecref(self, 4 | 8, self->handle); >
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 896025
:
682231
|
702502
|
702661