Message163473
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:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2012-06-22 20:02:48 | serhiy.storchaka | set | messageid: <1340395368.97.0.504662983992.issue15144@psf.upfronthosting.co.za> |
2012-06-22 20:02:48 | serhiy.storchaka | link | issue15144 messages |
2012-06-22 20:02:48 | serhiy.storchaka | create | |
|