From owner-cvs-all@FreeBSD.ORG Mon Mar 13 22:32:34 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 14DB216A422; Mon, 13 Mar 2006 22:32:34 +0000 (UTC) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD47043D48; Mon, 13 Mar 2006 22:32:33 +0000 (GMT) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2DMWXBc071019; Mon, 13 Mar 2006 22:32:33 GMT (envelope-from joerg@repoman.freebsd.org) Received: (from joerg@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2DMWXfQ071018; Mon, 13 Mar 2006 22:32:33 GMT (envelope-from joerg) Message-Id: <200603132232.k2DMWXfQ071018@repoman.freebsd.org> From: Joerg Wunsch Date: Mon, 13 Mar 2006 22:32:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/isofs/cd9660 cd9660_rrip.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 13 Mar 2006 22:32:34 -0000 joerg 2006-03-13 22:32:33 UTC FreeBSD src repository Modified files: sys/isofs/cd9660 cd9660_rrip.c Log: When encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge processing, this actually means there's a double slash recorded in the symbolic link's path name. We used to start over from / then, which caused link targets like ../../bsdi.1.0/include//pathnames.h to be interpreted as /pathnahes.h. This is both contradictionary to our conventional slash interpretation, as well as potentially dangerous. The right thing to do is (obviously) to just ignore that element. bde once pointed out that mistake when he noticed it on the 4.4BSD-Lite2 CD-ROM, and asked me for help. Reviewed by: bde (about half a year ago) MFC after: 3 days Revision Changes Path 1.29 +1 -3 src/sys/isofs/cd9660/cd9660_rrip.c