Article View: alt.folklore.computers
Article #4317Re: Delete All Your Files
From: coms... Alistair Veitch Universi...
Date: Sat, 01 Sep 1990 23:11
Date: Sat, 01 Sep 1990 23:11
27 lines
2063 bytes
2063 bytes
In article <DAVEG.90S...@near.cs.caltech.edu>, da...@near.cs.caltech.edu (Dave Gillespie) writes: > How many times have we all warned beginning programmers to cross their > t's and dot their i's: "Store through an uninitialized pointer, and > the computer could do anything---it could even run amok and delete all > your files!" > > Okay, folks: Have you ever had a bug in an innocent little program > that really did delete all your files? Reformat the hard disk? Send > rude mail to your mother? (Well, probably not that.) When I was at high school, we had an "assembler club" in which we learnt to write assembler programs on Apple ]['s. N'way the teacher who ran this club once wrote a program (can't remember what it was meant to do) that when run, proceeded to trash the floppy and crash the machine. The latter was typical, the former wasn't. A tad annoying when *everything* was on floppy. The error boiled down to a TXA (transfer X register to Accumulator) where there should have been a TAX - and do you think it was easy to find... -- Alistair Veitch Phone: +64 071 562889 ext. 8768 Internet: coms...@waikato.ac.nz +64 071 562388 (home) SNAIL: Computer Science Dept, University of Waikato, Hamilton, New Zealand Laws of Documentation: 1) If it should exist, it doesn't. 2) If it does exist, it's out of date. 3) Only documentation for useless programs transcends the first two laws.
Technical Details
Message-ID:
<1416.26e0e8fc@waikato.ac.nz>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!sunic!hagbard!eru!bloom-beacon!snorkelwacker!usc!samsung!uunet!comp.vuw.ac.nz!virtue!coms2146References:
<DAVEG.90Sep1034307@near.cs.caltech.edu>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!sunic!hagbard!eru!bloom-beacon!snorkelwacker!usc!samsung!uunet!comp.vuw.ac.nz!virtue!coms2146 From: coms...@waikato.ac.nz (Alistair Veitch, University of Waikato, New Zealand) Newsgroups: alt.folklore.computers Subject: Re: Delete All Your Files Message-ID: <1416.26e0e8fc@waikato.ac.nz> Date: 1 Sep 90 23:11:56 GMT References: <DAVEG.90Sep1034307@near.cs.caltech.edu> Organization: University of Waikato, Hamilton, New Zealand Lines: 27 Posted: Sun Sep 2 00:11:56 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit