[issue17405] Add _Py_memset_s() to securely clear memory

Christian Heimes report at bugs.python.org
Tue Mar 12 18:09:08 CET 2013


Christian Heimes added the comment:

mlock() can prevent swapping but it may need extra capabilities. A working memset_s() removes critical information from core dumps at least.

If we don't want to add _Py_memset_s() then I'm going to remove the dysfunctional clearstate macro from my sha3 module.

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17405>
_______________________________________


More information about the Python-bugs-list mailing list