Quote:
|
Originally Posted by kengam
wouldn't an incorrect array return an error?
|
Not unless the array didn't exist. Unless the array had strict bounds and the particular element being written to exceeded these bounds, the array would simply have been overwritten.
Quote:
|
It is very hard to fathom this bug not causing the program to crash. There were no indications that anything was erroneous if you tried it out during the time in question. Not a slight pause, nothing out of the ordinary. If the code was so sloppily written you would think it wouldn't be able to integrate itself into the game without causing fatal errors.
|
Strangely enough, array mismatches don't cause fatal errors unless as described above.
It was a very unfortunate "mismatch" in that both arrays were of exactly the same type and fell within similar bounds. This is also the worst nightmare that programmers experience as they are very difficult to detect if the change is slight or unmonitored or untested.
Like I said, though, I can easily see myself making that mistake - in fact, it happens to me frequently when I am in a "groove" and programming frantically before I forget what the hell it was I was trying to do

It is, however, definitely not something I would think of if I had anything to hide.