This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author drewbenn
Recipients drewbenn
Date 2021-03-02.04:06:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614657972.58.0.514518205696.issue43363@roundup.psfhosted.org>
In-reply-to
Content
In Modules/_functoolsmodule.c's partial_vectorcall(), there are two consecutive memcpys:

    memcpy(stack, pto_args, pto_nargs * sizeof(PyObject*));
    memcpy(stack + pto_nargs, args, nargs_total * sizeof(PyObject*));

The second should copy to `stack + pto_nargs * sizeof(PyObject*)`. As-is, the code will work correctly unless both `pto_nargs` and `nargs_total` are non-zero.
History
Date User Action Args
2021-03-02 04:06:12drewbennsetrecipients: + drewbenn
2021-03-02 04:06:12drewbennsetmessageid: <1614657972.58.0.514518205696.issue43363@roundup.psfhosted.org>
2021-03-02 04:06:12drewbennlinkissue43363 messages
2021-03-02 04:06:12drewbenncreate