Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
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


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.


So does

    :(){ :|: & };:


Cousin of fork bomb?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: