diff options
author | Jesus Cea <jcea@jcea.es> | 2012-09-11 00:08:48 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-09-11 00:08:48 (GMT) |
commit | b7a28008313f793897cc733e30c319ec2c284dbe (patch) | |
tree | a8f51234e96cbcabadfabef6442346b947f024ba /Modules | |
parent | 67bd81b8671e98149dcb3207e774e7abfd6159f2 (diff) | |
parent | c8754a13e607ebc70f12a10297c76dc574a91d5b (diff) | |
download | cpython-b7a28008313f793897cc733e30c319ec2c284dbe.zip cpython-b7a28008313f793897cc733e30c319ec2c284dbe.tar.gz cpython-b7a28008313f793897cc733e30c319ec2c284dbe.tar.bz2 |
MERGE: Closes #15793: Stack corruption in ssl.RAND_egd()
Diffstat (limited to 'Modules')
-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 1104a4e..456b1f1 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -2481,7 +2481,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; |