Steps to Reproduce: 1. Get an nss.Certificate object somehow 2. Invoke check_ocsp_status on that object Actual results: segfault Expected results: no segfault Additional info: The bug is in src/py_nss.c:9185 9185 if (!PyArg_ParseTuple(args, "O&O&:check_ocsp_status", 9186 &CertDBType, &py_certdb, 9187 PRTimeConvert, &pr_time)) { The format string expects two object arguments with converter functions. This works perfectly fine for the time argument: PyArg_ParseTuple invokes PRTimeConvert which then converts the time and writes it into pr_time. However, CertDBType is not a function, it's a PyTypeObject variable. PyArg_ParseTuple will then invoke the *data* and crash. The fix is trivial: 9185c9185 < if (!PyArg_ParseTuple(args, "O&O&:check_ocsp_status", --- > if (!PyArg_ParseTuple(args, "O!O&:check_ocsp_status",
Thank you for the bug report. Good catch. Clear explanation. Fixed in rawhide, python-nss-0.15.0-2.fc21 Fixed in F20: python-nss-0.14.0-3.fc20
python-nss-0.15.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-nss-0.15.0-1.fc20
python-nss-0.15.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.