Message100124
That should probably be:
#define Py_ADDRESS_IN_RANGE(P, POOL) \
((x = (POOL)->arenaindex) < maxarenas && \
(uptr)(P) - arenas[x].address < (uptr)ARENA_SIZE && \
arenas[x].address != 0)
The address in the arena shouldn't change since it does belong to Python, so no one should be monkeying with it without the GIL. The arenaindex is vulnerable since POOL can point to something not owned by Python. |
|
Date |
User |
Action |
Args |
2010-02-25 23:10:20 | mbandy | set | recipients:
+ mbandy, tim.peters, amaury.forgeotdarc, pitrou |
2010-02-25 23:10:19 | mbandy | set | messageid: <1267139419.99.0.607868713059.issue8020@psf.upfronthosting.co.za> |
2010-02-25 23:10:18 | mbandy | link | issue8020 messages |
2010-02-25 23:10:18 | mbandy | create | |
|