defend from -> :() { :&:; } ;:

Jonathan Chen jonc at chen.org.nz
Mon Oct 22 17:44:17 PDT 2007


On Mon, Oct 22, 2007 at 06:44:18PM +0200, Martin Tournoij wrote:
> On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
> > Please do not try to execute this: :() { :&:; } ;: on your BSD machine.
> > I ask all who already tried it how to defend from this?
> 
> Wow,, my machine just crashed :-/
> Does in this work on other OS's as well (ie. GNU/Linux)? Or just
> (Free?)BSD? I really don't feel like crashing another machine right
> now...
> 
> Only works in sh, not in csh.
> 
> Anyway, this seems to be security/stability issue, maybe a PR is in
> order?

More likely something's wrong with your system? I tried out the fork
bomb on my box, and while it crawled for a while, it came back out
fine. Running 6-STABLE.

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards


More information about the freebsd-questions mailing list