News for hackers. Stuff that matters.
Re:Programming Idioms by mpweiher on Sunday August 15, 2021 @04:44PM (#28192360)

   man gets

   ...
   
   SECURITY CONSIDERATIONS
     The gets() function cannot be used securely.  Because of its lack of
     bounds checking, and the inability for the calling program to reliably
     determine the length of the next incoming line, the use of this function
     enables malicious users to arbitrarily change a running program's func-
     tionality through a buffer overflow attack.  It is strongly suggested
     that the fgets() function be used in all cases.  (See the FSA.)

There are no comments on this comment yet.