diff options
author | Jesus Cea <jcea@jcea.es> | 2012-09-11 00:00:58 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-09-11 00:00:58 (GMT) |
commit | c8754a13e607ebc70f12a10297c76dc574a91d5b (patch) | |
tree | 55422157d1be2e8443251a5ed15bb7a7bd15ad18 /Modules/_ssl.c | |
parent | e8db356cf1084105a97db9457a2374209868005b (diff) | |
download | cpython-c8754a13e607ebc70f12a10297c76dc574a91d5b.zip cpython-c8754a13e607ebc70f12a10297c76dc574a91d5b.tar.gz cpython-c8754a13e607ebc70f12a10297c76dc574a91d5b.tar.bz2 |
Closes #15793: Stack corruption in ssl.RAND_egd()
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 0a84118..e9de8ca 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1917,7 +1917,7 @@ PySSL_RAND_egd(PyObject *self, PyObject *args) PyObject *path; int bytes; - if (!PyArg_ParseTuple(args, "O&|i:RAND_egd", + if (!PyArg_ParseTuple(args, "O&:RAND_egd", PyUnicode_FSConverter, &path)) return NULL; |