This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, dwoodjunkmail
Date 2021-03-08.17:47:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615225624.78.0.196692982525.issue43435@roundup.psfhosted.org>
In-reply-to
Content
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"
History
Date User Action Args
2021-03-08 17:47:04christian.heimessetrecipients: + christian.heimes, dwoodjunkmail
2021-03-08 17:47:04christian.heimessetmessageid: <1615225624.78.0.196692982525.issue43435@roundup.psfhosted.org>
2021-03-08 17:47:04christian.heimeslinkissue43435 messages
2021-03-08 17:47:04christian.heimescreate