Collecting favorite bug stories

Chuck McManis cmcmanis at sun.uucp
Wed Jan 21 08:59:51 AEST 1987


Of course there was a time when you could right a Fortran program for
TOPS-10 like so :

	FOO(0.0,10)

	SUBROUTINE FOO(A,B)
	A = B * 3
	RETURN
	END
And when executed the compiler generated constant for zero was a pointer
to some known word with zero in it was changed. This affected all subsequent
references to the constant 0.0 by your program or anyone elses on the
system!

-- 
--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis at sun.com
These opinions are my own and no one elses, but you knew that didn't you.



More information about the Comp.lang.c mailing list