Commit 12034037 authored by Tim Peters's avatar Tim Peters

k_lopsided_mul(): This allocated more space for bslice than necessary.

parent 918af2ae
......@@ -1785,7 +1785,7 @@ k_lopsided_mul(PyLongObject *a, PyLongObject *b)
memset(ret->ob_digit, 0, ret->ob_size * sizeof(digit));
/* Successive slices of b are copied into bslice. */
bslice = _PyLong_New(bsize);
bslice = _PyLong_New(asize);
if (bslice == NULL)
goto fail;
......
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