zsh-users
 help / color / mirror / code / Atom feed
* Infinite loop?
@ 2015-12-09 16:28 zzapper
  2015-12-09 16:49 ` Jérémie Roquet
  0 siblings, 1 reply; 2+ messages in thread
From: zzapper @ 2015-12-09 16:28 UTC (permalink / raw)
  To: zsh-users

Hi

I came across this in a posting somewhere

(DO NOT RUN THIS ON YOUR SYSTEM)

:(){ :|:& };:


It crashed my system , had to reboot. Other than that Don't think it 
actually harms anything. I guess it recursively calls itself until you 
get fork errors

zzapper


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Infinite loop?
  2015-12-09 16:28 Infinite loop? zzapper
@ 2015-12-09 16:49 ` Jérémie Roquet
  0 siblings, 0 replies; 2+ messages in thread
From: Jérémie Roquet @ 2015-12-09 16:49 UTC (permalink / raw)
  To: zzapper; +Cc: Zsh Users

2015-12-09 17:28 GMT+01:00 zzapper <david@rayninfo.co.uk>:
> I came across this in a posting somewhere
>
> (DO NOT RUN THIS ON YOUR SYSTEM)
>
> :(){ :|:& };:
>
> It crashed my system , had to reboot. Other than that Don't think it
> actually harms anything. I guess it recursively calls itself until you get
> fork errors

That's actually a quite famous pattern, see
https://en.wikipedia.org/wiki/Fork_bomb#Examples_of_fork_bombs

Best regards,

-- 
Jérémie


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-09 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-09 16:28 Infinite loop? zzapper
2015-12-09 16:49 ` Jérémie Roquet

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).