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 947290 Details for
Bug 1153321
use-after-free bug in handling pycurl.POSTFIELDS
[?]
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.
Script to reproduce the problem
pycurl_reproduce.py (text/plain), 942 bytes, created by
Giuseppe Paterno'
on 2014-10-15 18:48:38 UTC
(
hide
)
Description:
Script to reproduce the problem
Filename:
MIME Type:
Creator:
Giuseppe Paterno'
Created:
2014-10-15 18:48:38 UTC
Size:
942 bytes
patch
obsolete
>## >## >## > >import pycurl >import urllib > >content = {'USERNAME': 'foobar', 'ATTRIBUTE': 'sshkey', 'VALUE': 'ssh-rsa AADDB3NzaC1yc2EAAAABIwAAAQEA6ezbY7Pb9Ld2fRRgIzEaQln66HgJL0MkHPv7fYsU3Eo+8F5gC+gY4nbxCCuvvJ652WltW786Es1kduWpT13gKkT2TCqvXhC+TDbml5Rp9ECvrSs4Xlc2nYQb+MVwbEnnu3c92WaXs4q4Sjj2lTAAo6ftsjT00uqWUbjX1NoshnH9mo34NCnI2XniI50dNfDx4VxMK5ZRn6zoK5D2T9bKEsAHsmQpNKo9ySKai4SMVP/GnhAhyjLQtq5X8COpdH5AUJy4RHYyL0upF0ClvWYnLpPZuPajsoOZgruu3OQz/FP3XsosMZ04ZNL84mSDSBKE/6N2DMBxw9tl4cuHRx1Evw== '} > >curl = pycurl.Curl() > ># Default cURL settings >curl.setopt(pycurl.VERBOSE, False) >curl.setopt(pycurl.FOLLOWLOCATION, False) >curl.setopt(pycurl.SSL_VERIFYHOST, 0) >curl.setopt(pycurl.SSL_VERIFYPEER, False) > >url = "http://localhost:5000/test/" > >curl.setopt(pycurl.CUSTOMREQUEST, "POST") >curl.setopt(pycurl.URL, str(url)) > >curl.setopt(pycurl.POSTFIELDS, urllib.urlencode(content)) > >try: > curl.perform() >except pycurl.error, err: > print "error", err > > >
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 Raw
Actions:
View
Attachments on
bug 1153321
: 947290