There is a warranty statement in the legal gubbins that everevery user here implicitly claims to have read in order to use the site (I see you were paying attention!) that essentially says: there's no guarantee anything here will work.
The Services, Content, Network and any Software are provided on an "as is" basis, without warranties of any kind, either express or implied, including, without limitation, implied warranties of merchantability, fitness for a particular purpose or non-infringement. Stack Exchange makes no representations or warranties of any kind with respect to the Network, the Services, including any representation or warranty that the use of the Network or Services will (a) be timely, uninterrupted or error-free or operate in combination with any other hardware, software, system or data, (b) meet your requirements or expectations, (c) be free from errors or that defects will be corrected, (d) be free of viruses or other harmful components.
The site is self-protecting to some degree and hopefully most people will edit or vote down an answer that they can see is nonsense, or query an answer that they can't understand.
I'm sure it will happen one day and it won't be innocent as you suggest. It'll be a fork bomb or a system-killer but whoever posts it will be reported to their ISP and local police and hopefully locked in a box until they learn that messing up people's computers is not funny.