dds         2006-12-03 17:50:21 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/jot          jot.c 
  Log:
  Prevent buffer overflow when forcibly terminating an escape character.
  
  Obtained from:  OpenBSD
  Note: In the case of a full buffer the OpenBSD implementation will
  leave in the format string an invalid escape sequence.  This appears
  to be harmless with our C library, but according to C99 this can
  cause undefined behavior.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.36      +3 -1      src/usr.bin/jot/jot.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to