New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
There are possible leaks in PyArg_Parse and similar functions for format units "es#" and "et#". Macros STORE_SIZE and (since 3.8) FETCH_SIZE can leave the function despite there is an own reference to an encoded string (s). The leak is only possible when PY_SSIZE_T_CLEAN is not defined. ---------- components: Interpreter Core messages: 355022 nosy: inada.naoki, serhiy.storchaka priority: normal severity: normal status: open title: Possible leaks in PyArg_Parse for "es#" and "et#" type: resource usage versions: Python 2.7, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38540> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com