ensure ilen is initialized when it is assigned to len
This commit is contained in:
parent
d7770d9bec
commit
a8efc9601d
|
@ -870,9 +870,9 @@ _PyBytes_Format(PyObject *format, PyObject *args)
|
||||||
temp = format_long(iobj, flags, prec, c,
|
temp = format_long(iobj, flags, prec, c,
|
||||||
&pbuf, &ilen);
|
&pbuf, &ilen);
|
||||||
Py_DECREF(iobj);
|
Py_DECREF(iobj);
|
||||||
len = ilen;
|
|
||||||
if (!temp)
|
if (!temp)
|
||||||
goto error;
|
goto error;
|
||||||
|
len = ilen;
|
||||||
sign = 1;
|
sign = 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue