[Cryptography] Buffer overflows from 1974
Peter Gutmann
pgut001 at cs.auckland.ac.nz
Sun Jan 4 20:52:40 EST 2026
Henry Baker <hbaker1 at pipeline.com> writes:
>It would be interesting to see if some of the new (claimed-to-be-safer)
>variants of C would complain at compile-time about this old code.
It was written on a PDP-11... I'm guessing 45 with 32KW memory using ed on a
Model 33 teletype, it couldn't run anything beyond the most basic pre-K&R C.
This also explains the... unfortunate coding style, if it hurts to edit
anything other than the line you're currently in the process of entering you'd
want to minimise the amount of typing and re-typing necessary. So any new
code wouldn't be written in anything like this style regardless of the
compiler or C variant.
Peter.
More information about the cryptography
mailing list