Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sorry, sorry! Ignore my previous two commits. I mixed up the version | Armin Rigo | 2009-09-03 | 2 | -21/+0 |
| | | | | | of python with which I tried running the crashers. They don't crash the current HEAD. | ||||
* | Does not terminate: consume all memory without responding to Ctrl-C. | Armin Rigo | 2009-09-03 | 1 | -0/+10 |
| | | | | I am not too sure why, but you can surely find out by gdb'ing a bit... | ||||
* | Found the next crasher by thinking about this logic in PyPy. | Armin Rigo | 2009-09-03 | 1 | -0/+11 |
| | |||||
* | thanks to guido's bytecode verifier, this is fixed | Benjamin Peterson | 2009-03-29 | 1 | -47/+0 |
| | |||||
* | this has been fixed since 2.6 (I love removing these) | Benjamin Peterson | 2009-03-29 | 1 | -14/+0 |
| | |||||
* | Ivan on IRC in #twisted reported this crasher. | Armin Rigo | 2009-02-06 | 1 | -0/+5 |
| | |||||
* | #3720: Interpreter crashes when an evil iterator removes its own next function. | Amaury Forgeot d'Arc | 2009-01-12 | 1 | -53/+0 |
| | | | | | | Now the slot is filled with a function that always raises. Will not backport: extensions compiled with 2.6.x would not run on 2.6.0. | ||||
* | A collection of crashers, all variants of the idea | Armin Rigo | 2008-08-29 | 1 | -0/+53 |
| | | | | of issue #3720. | ||||
* | Sounds obvious, but I didn't even realize that you can put non-string | Armin Rigo | 2008-06-12 | 1 | -4/+3 |
| | | | | keys in type dictionaries without using this locals() hack. | ||||
* | A new crasher. | Armin Rigo | 2008-04-25 | 1 | -0/+31 |
| | |||||
* | Fix test67.py from issue #1303614. | Guido van Rossum | 2008-01-24 | 1 | -21/+0 |
| | |||||
* | Fix two crashers. | Guido van Rossum | 2008-01-23 | 2 | -42/+0 |
| | |||||
* | This got fixed for classic classes in r60057, | Guido van Rossum | 2008-01-18 | 1 | -17/+0 |
| | | | | and backported to 2.5.2 in 60056. | ||||
* | Remove duplicate crasher. | Georg Brandl | 2007-10-21 | 1 | -8/+0 |
| | |||||
* | Add a crasher for the long-standing issue with closing a file | Armin Rigo | 2007-10-21 | 1 | -0/+14 |
| | | | | while another thread uses it. | ||||
* | Fix a crasher where Python code managed to infinitely recurse in C code without | Brett Cannon | 2007-09-07 | 4 | -38/+0 |
| | | | | | | | ever going back out to Python code in PyObject_Call(). Required introducing a static RuntimeError instance so that normalizing an exception there is no reliance on a recursive call that would put the exception system over the recursion check itself. | ||||
* | PyDict_GetItem() returns a borrowed reference. | Armin Rigo | 2007-09-06 | 1 | -0/+28 |
| | | | | | This attack is against ceval.c:IMPORT_NAME, which calls an object (__builtin__.__import__) without holding a reference to it. | ||||
* | PyDict_GetItem() returns a borrowed reference. | Armin Rigo | 2007-09-05 | 1 | -0/+14 |
| | | | | | There are probably a number of places that are open to attacks such as the following one, in bltinmodule.c:min_max(). | ||||
* | Add a crasher for the thread-unsafety of file objects. | Georg Brandl | 2007-08-28 | 1 | -0/+8 |
| | |||||
* | Fix for #1303614 and #1174712: | Armin Rigo | 2007-05-02 | 2 | -32/+0 |
| | | | | | | | - __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types Thanks zseil for the patch. | ||||
* | Modify the segfaulting example to show why r53997 is not a solution to | Armin Rigo | 2007-02-28 | 1 | -0/+20 |
| | | | | it. | ||||
* | Add checking for a number of metaclass error conditions. | Jeremy Hylton | 2007-02-27 | 1 | -19/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | We add some new rules that are required for preserving internal invariants of types. 1. If type (or a subclass of type) appears in bases, it must appear before any non-type bases. If a non-type base (like a regular new-style class) occurred first, it could trick type into allocating the new class an __dict__ which must be impossible. 2. There are several checks that are made of bases when creating a type. Those checks are now repeated when assigning to __bases__. We also add the restriction that assignment to __bases__ may not change the metaclass of the type. Add new tests for these cases and for a few other oddball errors that were no previously tested. Remove a crasher test that was fixed. Also some internal refactoring: Extract the code to find the most derived metaclass of a type and its bases. It is now needed in two places. Rewrite the TypeError checks in test_descr to use doctest. The tests now clearly show what exception they expect to see. | ||||
* | Fix crasher for when an object's __del__ creates a new weakref to itself. | Brett Cannon | 2007-01-23 | 1 | -1/+2 |
| | | | | | | Patch only fixes new-style classes; classic classes still buggy. Closes bug #1377858. Already backported. | ||||
* | Another crasher. | Armin Rigo | 2006-09-25 | 1 | -0/+36 |
| | |||||
* | Add a "crasher" taken from the sgml bug report referenced in the comment | Neal Norwitz | 2006-09-11 | 1 | -0/+16 |
| | |||||
* | The regular expression engine in '_sre' can segfault when interpreting | Armin Rigo | 2006-08-25 | 1 | -0/+47 |
| | | | | | bogus bytecode. It is unclear whether this is a real bug or a "won't fix" case like bogus_code_obj.py. | ||||
* | Document the crashers that will not go away soon as "won't fix", | Armin Rigo | 2006-07-25 | 2 | -0/+15 |
| | | | | and explain why. | ||||
* | Added another crasher, which hit me today (I was not intentionally | Armin Rigo | 2006-07-25 | 1 | -0/+16 |
| | | | | | writing such code, of course, but it took some gdb time to figure out what my bug was). | ||||
* | Document why is and is not a good way to fix the gc_inspection crasher. | Armin Rigo | 2006-07-25 | 1 | -0/+15 |
| | |||||
* | A couple of examples about how to attack the fact that _PyType_Lookup() | Armin Rigo | 2006-07-06 | 2 | -0/+67 |
| | | | | returns a borrowed ref. Many of the calls are open to attack. | ||||
* | SF bug #1296433 (Expat bug #1515266): Unchecked calls to character data | Fred Drake | 2006-07-01 | 1 | -56/+0 |
| | | | | | | | | handler would cause a segfault. This merges in Expat's lib/xmlparse.c revisions 1.154 and 1.155, which fix this and a closely related problem (the later does not affect Python). Moved the crasher test to the tests for xml.parsers.expat. | ||||
* | A couple of crashers of the "won't fix" kind. | Armin Rigo | 2006-06-28 | 2 | -0/+26 |
| | |||||
* | If a classic class defined a __coerce__() method that just returned its two | Brett Cannon | 2006-06-13 | 1 | -9/+0 |
| | | | | | | | | arguments in reverse, the interpreter would infinitely recourse trying to get a coercion that worked. So put in a recursion check after a coercion is made and the next call to attempt to use the coerced values. Fixes bug #992017 and closes crashers/coerce.py . | ||||
* | An object with __call__ as an attribute, when called, will have that ↵ | Brett Cannon | 2006-06-09 | 1 | -9/+0 |
| | | | | | | attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute. This can lead to an infinite recursion. Closes bug #532646, again. Will be backported. | ||||
* | [ 1497053 ] Let dicts propagate the exceptions in user __eq__(). | Armin Rigo | 2006-06-01 | 1 | -32/+0 |
| | | | | [ 1456209 ] dictresize() vulnerability ( <- backport candidate ). | ||||
* | A dictresize() attack. If oldtable == mp->ma_smalltable then pure | Armin Rigo | 2006-04-18 | 1 | -0/+32 |
| | | | | | Python code can mangle with mp->ma_smalltable while it is being walked over. | ||||
* | add a very old crasher from the 2.1 -> 2.2 round of dictionary fixes. | Michael W. Hudson | 2006-04-18 | 1 | -0/+47 |
| | |||||
* | Copy note from leakers README here too. We want to keep all test cases. | Neal Norwitz | 2006-04-14 | 1 | -0/+5 |
| | |||||
* | Set svn:eol-style to native. | Tim Peters | 2006-03-01 | 2 | -72/+72 |
| | |||||
* | collected my segfaulting Python examples from the SF trackers | Armin Rigo | 2006-01-14 | 8 | -0/+99 |
| | | | | (is the purpose of the crashers directory to scare people? :-) | ||||
* | Whitespace normalization. | Tim Peters | 2006-01-13 | 2 | -73/+72 |
| | |||||
* | add another crash reported by Thomas Wouters | Neal Norwitz | 2006-01-11 | 1 | -0/+10 |
| | |||||
* | As I threatened on python-dev, add a directory which contains all known | Neal Norwitz | 2006-01-10 | 4 | -0/+97 |
bugs which cause the interpreter to crash. I'm sure we can find a few more. Many missing bugs deal with variations on unchecked infinite recursion (like coerce.py). |