David Wood <dwoodjunkm...@gmail.com> added the comment:
Christian/Eric - Thank you both so much for taking time on this. Christian had pointed out the use of memcpy vs strncpy. It turns out that while strncpy is designed to copy a specific number of chars, it turns out that it stops on null. I did make the change Christian suggested however, it turns out that strncpy was also used in the decrypt function which was also subject to the same problem. ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ 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