[New-bugs-announce] [issue27537] Segfault Via Resource Exhaustion
pablo sacristan
report at bugs.python.org
Sun Jul 17 02:02:29 EDT 2016
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 python.
----------
messages: 270611
nosy: pabstersac
priority: normal
severity: normal
status: open
title: Segfault Via Resource Exhaustion
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27537>
_______________________________________
More information about the New-bugs-announce
mailing list