Better HN
top
new
best
ask
show
jobs
Log in
Sign up
How to segfault bash: a() { a; }; a | Better HN
How to segfault bash: a() { a; }; a
2 points · by
JelteF
· 9y ago · 3 comments
Just wait a bit and you will get a SEGV error
Comments
[–]
dozzie
9y ago
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
9y ago
So does
:(){ :|: & };:
[–]
bbcbasic
9y ago
Cousin of fork bomb?