Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/bin/pax
Module Name: src
Committed By: christos
Date: Sun Apr 24 01:45:04 UTC 2005
Modified Files:
src/bin/pax: ar_io.c ar_subs.c extern.h pax.c
Log Message:
PR/18759: FUKAUMI Naoki: pax/tar dot-dot handling broken
PR/18840: Frederick Bruckman: Fix for PR/18663 incomplete pax symlink handling
This patch makes ``--insecure'' do something. Now if ``--insecure''
is not set (the default) we do a realpath(3) in all the pathnames
that we are trying to create and if either realpath fails, or the
path is outside our working directory, we print a warning and die.
This maybe too strict and might fail on valid archives that create
symlinks and directories in the wrong order.
To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 src/bin/pax/ar_io.c
cvs rdiff -r1.36 -r1.37 src/bin/pax/ar_subs.c src/bin/pax/pax.c
cvs rdiff -r1.47 -r1.48 src/bin/pax/extern.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index