Date: Tue, 24 Jun 2008 09:16:53 GMT From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/124924: cpio chokes on ".." in path Message-ID: <200806240916.m5O9GrX4002518@critter.freebsd.dk> Resent-Message-ID: <200806240950.m5O9o4JV039206@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124924 >Category: bin >Synopsis: cpio chokes on ".." in path >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 24 09:50:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD critter.freebsd.dk 8.0-CURRENT FreeBSD 8.0-CURRENT #0 @179963M: Mon Jun 23 23:01:36 UTC 2008 root@critter.freebsd.dk:/usr/obj/freebsd/head/sys/C5 i386 >Description: cpio is broken in -current: critter phk> cd /tmp critter phk> mkdir A critter phk> mkdir B critter phk> cd A critter phk> touch oo critter phk> find . -print | cpio -dump ../B cpio: ../B/.: Path contains '..': Unknown error: -1 cpio: ../B/./oo: Path contains '..': Unknown error: -1 >How-To-Repeat: see above >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806240916.m5O9GrX4002518>