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 mbandy
Recipients amaury.forgeotdarc, mbandy, pitrou, tim.peters
Date 2010-02-25.23:10:18
SpamBayes Score 1.2300534e-05
Marked as misclassified No
Message-id <1267139419.99.0.607868713059.issue8020@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-02-25 23:10:20mbandysetrecipients: + mbandy, tim.peters, amaury.forgeotdarc, pitrou
2010-02-25 23:10:19mbandysetmessageid: <1267139419.99.0.607868713059.issue8020@psf.upfronthosting.co.za>
2010-02-25 23:10:18mbandylinkissue8020 messages
2010-02-25 23:10:18mbandycreate