From owner-cvs-all Tue Aug 8 16: 7: 2 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 36F4E37B8F8; Tue, 8 Aug 2000 16:06:55 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id QAA01884; Tue, 8 Aug 2000 16:06:55 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Tue, 8 Aug 2000 16:06:55 -0700 (PDT) From: Kris Kennaway To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc In-Reply-To: <200008082256.XAA03062@hak.lan.Awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 8 Aug 2000, Brian Somers wrote: > How is it vulnerable to files with spaces ? I have specifically > tested this with filenames containing embedded spaces and ^Hs and the > like. Oops, I misread the effect of this line: + cd "$dir" && ls | while read file I assumed the 'read' would just take the next word. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message