Christian Heimes <li...@cheimes.de> added the comment:

Does mcrypt_generic() output base64 or ASCII-only data? Since you are 
converting the output to bytes, I assume the output may contain any byte. In 
that case strcpy() is not safe. You have to use memcpy().

Fun fact: Nintendo had a similar bug many years ago, check out "trucha bug"

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43435>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to