From owner-cvs-all@FreeBSD.ORG Sun Nov 14 05:15:25 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8FEB16A4CE; Sun, 14 Nov 2004 05:15:25 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6F5E43D31; Sun, 14 Nov 2004 05:15:25 +0000 (GMT) (envelope-from jkh@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iAE5FPv1056606; Sun, 14 Nov 2004 05:15:25 GMT (envelope-from jkh@repoman.freebsd.org) Received: (from jkh@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAE5FPZQ056605; Sun, 14 Nov 2004 05:15:25 GMT (envelope-from jkh) Message-Id: <200411140515.iAE5FPZQ056605@repoman.freebsd.org> From: "Jordan K. Hubbard" Date: Sun, 14 Nov 2004 05:15:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/tr str.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 05:15:25 -0000 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