Message387898
The py_sha3_new_impl function in sha3module.c has error handling code that looks like this: error: if (self) { Py_DECREF(self); } if (data && buf.obj) { PyBuffer_Release(&buf); } However, there is a `goto error` before the variable buf is initialized. If that error path is triggered, the function will attempt to free an invalid object, possibly leading to a program crash. | |
| Date | User | Action | Args | | 2021-03-02 02:49:55 | alex.henrie | set | recipients: + alex.henrie | | 2021-03-02 02:49:55 | alex.henrie | set | messageid: <1614653395.68.0.861850864871.issue43362@roundup.psfhosted.org> | | 2021-03-02 02:49:55 | alex.henrie | link | issue43362 messages | | 2021-03-02 02:49:55 | alex.henrie | create | | |