19
4
There are a range of questions revolving around this concept, but these all seem to just involve causing a crash, resulting in many answers which are very obviously designed to cause a crash. So the challenge I set you is to write some plausible code (although what the codes supposed "intention" is I leave up to you), that crashes either the entire target OS, or just itself, in a way which is not immediately obvious. (I realize that what counts as "immediately obvious" is subjective, but hopefully the challenge is still reasonably clear).
The winner is the answer with the most votes after 5 days.
1
I'm voting to close this question as off-topic because underhanded challenges are no longer on-topic on this site. http://meta.codegolf.stackexchange.com/a/8326/20469
– cat – 2016-04-18T14:47:36.487Removed tag code-challenge since there is no objective criterion given. – Howard – 2014-01-02T20:52:06.967
2There have been too many occurrences of these in my actual code. I can't remember any of them, though. – Joe Z. – 2014-01-10T16:47:05.860
Related: the Underhanded C Contest has a bunch of problems with a similar goal, and some quite clever solutions to them.
– FireFly – 2014-01-13T14:29:29.453