Message240151
| Author |
serhiy.storchaka |
| Recipients |
alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou, serhiy.storchaka |
| Date |
2015年04月06日.12:01:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1428321712.11.0.166628574781.issue23875@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Argument parsing code for functions _ssl.enum_certificates() and _ssl.enum_crls() look not correct.
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|s:enum_certificates",
kwlist, &store_name)) {
return NULL;
}
The format contains codes for two string arguments. But only one address (&store_name) is passed. And kwlist contains only one member, "store_name".
These functions are provided only on Windows, so I can't check what happen if call them with two string arguments. May be crash or memory corruption. |
|