[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Mon Jul 26 15:38:23 EDT 2021


Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com> added the comment:

Geoffrey Thomas:
I agree that including crypt.h only where required is better.
Can you file new bug with patch?


Benjamin Peterson:
I suspect that with crypt.h not included in _cryptmodule.c, crypt() was treated by compiler as implicitly declared function (returning 'int'), however real crypt() function returns 'char*'.

----------
nosy: +Arfrever

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32635>
_______________________________________


More information about the Python-bugs-list mailing list