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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2012-06-22.20:02:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In unicodeobject.c and stringlib aligned addresses and sizes are used for optimization. pointer->integer and implicit integer->integer conversions may overflow or underflow on platforms with sizeof(size_t) != sizeof(void *) or sizeof(size_t) != sizeof(int). The proposed patch fixes such unsafe things in unicodeobject.c, stringlib and some other files.

There are still a few unsafe places in libffi, but in this library Py_uintptr_t nor uintptr_t are not available.
Date User Action Args
2012-06-22 20:02:49serhiy.storchakasetrecipients: + serhiy.storchaka
2012-06-22 20:02:48serhiy.storchakasetmessageid: <>
2012-06-22 20:02:48serhiy.storchakalinkissue15144 messages
2012-06-22 20:02:48serhiy.storchakacreate