Message156242
There is a out-of-bounds error in Modules/_ctypes/libffi/src/x86/ffi64.c:
at line 225, classes[i + pos] can go outside the allocated memory for classes (MAX_CLASSES=4).
This code is not prepared to received "structures" with a small size (<32bytes) but where individual elements total more than 32bytes.
libffi support for unions is weak; at least ctypes should not use FFI_TYPE_STRUCT for unions. |
|
Date |
User |
Action |
Args |
2012-03-18 11:16:52 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ronaldoussoren, ned.deily, meador.inge, ogre |
2012-03-18 11:16:52 | amaury.forgeotdarc | set | messageid: <1332069412.3.0.0443195422248.issue14354@psf.upfronthosting.co.za> |
2012-03-18 11:16:51 | amaury.forgeotdarc | link | issue14354 messages |
2012-03-18 11:16:51 | amaury.forgeotdarc | create | |
|