cvs commit: src/usr.bin/tr str.c

Jordan K. Hubbard jkh at FreeBSD.org
Sun Nov 14 05:15:25 GMT 2004


jkh         2004-11-14 05:15:25 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tr           str.c 
  Log:
  tr(1) attempts to convert \n[n][n] sequences into octal digits, but doesn't
  check to see that a given digit is actually an octal digit.  This leads to
  unusual consequences if passed in values like \9.
  
  Reported by:    Joseph Davison (OpenDarwin project)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.24      +1 -1      src/usr.bin/tr/str.c


More information about the cvs-src mailing list