A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021945.html below:

[Python-Dev] pymalloc killer

[Python-Dev] pymalloc killer [Python-Dev] pymalloc killerTim Peters tim.one@comcast.net
Fri, 29 Mar 2002 19:19:55 -0500
[Tim]
> It would be possible to store both the arena index *and* the arena base
> address in each pool header.  Then we could check that
> 
>     poolheader* p = pool_address(some_memory_address);
>     if (p->arenaindex < narenas &&
>         arenas[p->arenaindex] == p->arenabase) {
>         it's a pymalloc address
>     }
>     else {
>         it isn't
>     }
>
> I like that.

No I don't:  I hate that.  It can be tricked.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4