Message387899
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. |
|
Date |
User |
Action |
Args |
2021-03-02 04:06:12 | drewbenn | set | recipients:
+ drewbenn |
2021-03-02 04:06:12 | drewbenn | set | messageid: <1614657972.58.0.514518205696.issue43363@roundup.psfhosted.org> |
2021-03-02 04:06:12 | drewbenn | link | issue43363 messages |
2021-03-02 04:06:12 | drewbenn | create | |
|