[issue27537] Segfault Via Resource Exhaustion

2016-07-17 Thread Ned Deily
Ned Deily added the comment: Sorry, the documentation for sys.setrecursionlimit() explicitly warns you against doing this: "The highest possible limit is platform-dependent. A user may need to set the limit higher when she has a program that requires deep recursion and a platform that

[issue27537] Segfault Via Resource Exhaustion

2016-07-17 Thread pablo sacristan
New submission from pablo sacristan: The code is very simple: import sys sys.setrecursionlimit(1<<20) test=lambda test:test(test) test(test) It basically works by changing the recursion limit and then starting an infinite recursion, this quickly gives a segfault. This can be used to crash