This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author simpkins
Recipients eric.araujo, giampaolo.rodola, janssen, pitrou, simpkins
Date 2011-08-24.18:34:55
SpamBayes Score 7.0849597e-09
Marked as misclassified No
Message-id <1314210903.85.0.515967562127.issue12803@psf.upfronthosting.co.za>
In-reply-to
Content
Good catch.  Here's an updated patch to fix the missing decref in
_pwinfo_set()

The length check in _password_callback() applies to both callback
functions and predefined strings.  The C API always uses a callback,
so _password_callback() is used even when the python caller has passed
in a string.  We can't check the length in _pwinfo_set() since it depends
on the buffer length argument that openssl will pass to
_password_callback().
History
Date User Action Args
2011-08-24 18:35:03simpkinssetrecipients: + simpkins, janssen, pitrou, giampaolo.rodola, eric.araujo
2011-08-24 18:35:03simpkinssetmessageid: <1314210903.85.0.515967562127.issue12803@psf.upfronthosting.co.za>
2011-08-24 18:34:58simpkinslinkissue12803 messages
2011-08-24 18:34:57simpkinscreate