retiring gets(3)

Rob Bernardo rob at pbhyf.PacBell.COM
Thu Nov 24 07:08:04 AEST 1988


In article <1606 at valhalla.ee.rochester.edu> badri at valhalla.ee.rochester.edu (Badri Lokanathan) writes:
+ Almost all of them have a
+
+#ifdef DEBUG_MAIN
+main() {
+  .
+  .
+}
+#endif DEBUG_MAIN
+
+built into them for stand-alone debugging. ...  It does not make any
+sense to worry about safe gets, coz' this part of the code is never going to
+be used by anybody for purposes other than testing. Quick and easy is the way
+to go.

Um, er, wasn't it a debug part of sendmail that had it's security hole that
many people compiled in anyway?
-- 
Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library
Email:     ...![backbone]!pacbell!pbhyf!rob   OR  rob at pbhyf.PacBell.COM
Office:    (415) 823-2417  Room 4E750A, San Ramon Valley Administrative Center
Residence: (415) 827-4301  R Bar JB, Concord, California



More information about the Comp.lang.c mailing list