]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
A couple of examples about how to attack the fact that _PyType_Lookup()
authorArmin Rigo <arigo@tunes.org>
Thu, 6 Jul 2006 07:58:18 +0000 (07:58 +0000)
committerArmin Rigo <arigo@tunes.org>
Thu, 6 Jul 2006 07:58:18 +0000 (07:58 +0000)
commit5953baca0a1f27b861f9db42a68f7777a62b4a3c
tree6bc06141b5dff4bcdf04c45067c89a901318d41c
parent43d9a58dfda44f453ef330fb9c05fbabb7b82591
A couple of examples about how to attack the fact that _PyType_Lookup()
returns a borrowed ref.  Many of the calls are open to attack.
Lib/test/crashers/borrowed_ref_1.py [new file with mode: 0644]
Lib/test/crashers/borrowed_ref_2.py [new file with mode: 0644]