Message164274
| Author |
mfoetsch |
| Recipients |
mfoetsch |
| Date |
2012年06月28日.16:45:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340901953.6.0.903394800639.issue15219@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If the "name" argument to "_hashlib.new()" is not a string, the reference count for the "string" argument is not decremented.
In the file "Modules/_hashopenssl.c", function "EVP_new()", a call to "PyBuffer_Release()" is missing:
if (!PyArg_Parse(name_obj, "s", &name)) {
+ PyBuffer_Release(&view);
PyErr_SetString(PyExc_TypeError, "name must be a string");
return NULL;
} |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月28日 16:45:53 | mfoetsch | set | recipients:
+ mfoetsch |
| 2012年06月28日 16:45:53 | mfoetsch | set | messageid: <1340901953.6.0.903394800639.issue15219@psf.upfronthosting.co.za> |
| 2012年06月28日 16:45:53 | mfoetsch | link | issue15219 messages |
| 2012年06月28日 16:45:52 | mfoetsch | create |
|