Kaydet (Commit) c1751758 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Zero-initialize buf. Fixes #3557.

üst 1f9d907c
......@@ -488,6 +488,7 @@ SHA1_new(PyObject *self, PyObject *args, PyObject *kwdict)
static char *kwlist[] = {"string", NULL};
SHA1object *new;
Py_buffer buf;
buf.buf = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwdict, "|s*:new", kwlist,
&buf)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment