Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
How to segfault bash: a() { a; }; a
2 points
by
JelteF
on June 6, 2017
|
hide
|
past
|
favorite
|
3 comments
Just wait a bit and you will get a SEGV error
dozzie
on June 6, 2017
|
next
[–]
It's not a surprising result. You just run out of stack with your infinite recursion, and shells usually don't perform tail call optimization.
davidddavidson
on June 9, 2017
|
prev
|
next
[–]
So does
:(){ :|: & };:
bbcbasic
on June 6, 2017
|
prev
[–]
Cousin of fork bomb?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: