| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.
FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.
Blessed by: kientzle
With hat: secteam
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remote tape service returns deliberately crafted packets containing
more data than requested.
Fix this by checking the returned amount of data and bail out when it
is more than what we requested.
PR: gnu/145010
Submitted by: naddy
Reviewed by: imp
MFC after: immediately
Security: CVE-2010-0624
|
|\
| |
| |
| |
| |
| | |
conflicts due to radically different approaches to security and bug fixes.
In some cases I re-started from the vendor version and reimplemented our
patches. Fortunately, this is not enabled by default in -current.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Correct insecure temporary file usage in ee. [06:02]
Correct a race condition when setting file permissions, sanitize file
names by default, and fix a buffer overflow when handling files
larger than 4GB in cpio. [06:03]
Fix an error in the handling of IP fragments in ipfw which can cause
a kernel panic. [06:04]
Security: FreeBSD-SA-06:01.texindex
Security: FreeBSD-SA-06:02.ee
Security: FreeBSD-SA-06:03.cpio
Security: FreeBSD-SA-06:04.ipfw
|
| |
| |
| |
| |
| |
| |
| |
| | |
the range allowed by that function, resulting in undefined behaviour.
Our undefined behaviour in multibyte locales happened to differ from
glibc's, resulting in errors parsing option strings.
Obtained from: Corinna Vinschen (Red Hat)
|
| | |
|
| |
| |
| |
| | |
errors from old copyin.c.
|
| |
| |
| |
| |
| | |
cdevs, fifos and sockets. Don't output a file if the major, minor or
totality of its rdev would be truncated.
|
| |
| |
| |
| |
| |
| | |
file cannot be linked into place when requested (not required) to do it,
reassure them that cpio is still intelligent enough that it will perform
a full copy instead.
|
| | |
|
| |
| |
| |
| | |
processed the arguments and opened the archive file.
|
| |
| |
| |
| | |
extension entries.
|
| |
| |
| |
| | |
mkfifo() instead of attempting to create them using mknod().
|
| |
| |
| |
| | |
<ctype.h> library function of the same name.
|
| |
| |
| |
| | |
were actually moved into subdirectories.
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
this avoids the creation of "PaxHeader" dirs when unpacking pax-format
tar archives such as those written by bsdtar.
MFC after: 3 days
|
| | |
|
| |
| |
| |
| |
| | |
requested (not required) to do it, reassure them that cpio is still
intelligent enough that it will perform a full copy instead.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Submitted-by: Josh Gilliam
Closes PR: 4422
|
| | |
|
| |
| |
| |
| | |
mknod().
|
| |
| |
| |
| |
| | |
The bug is triggered by attempts to copy in (-i) a file which happens
to have zero length.
|
| |
| |
| |
| | |
(FREEBSD-upgrade is now the "accpeted" filename for this).
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape. Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
|
| |
| |
| |
| | |
Submitted by: joerg via old gnu/usr.bin/cpio v2.3
|
| |
| |
| |
| |
| |
| |
| |
| | |
and opened the archive file. This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closed PR# 1391
Add setlocale LC_ALL (from ache).
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- Fix gross spelling and typographical errors pointed out by Keith Bostic.
- Mention -l, --link is only usable with "-p".
Obtained from: old gnu/usr.bin/cpio v2.3.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
stops regular files with unrepresentable rdevs from being rejected
and makes the output independent of unpreservable metadata.
Don't output a file if the major, minor or totality of its rdev would be
truncated. Print a message about the skipped files to stderr but don't
report the error in the exit status. cpio's abysmal error handling doesn't
allow continuing after an error, and the rdev checks had to be misplaced
to avoid the problem of returning an error code from routines that return
void.
Minor numbers are limited to 21 bits in pax's ustar format and to 18
bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
pax's and cpio's ustar format is incompatible with gnu tar's ustar
format for other reasons (see cpio/README).
Submitted by: bde via old gnu/usr.bin/cpio v2.3.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use isprint() for Localization.
Submitted by: ache via gnu/usr.bin/cpio v2.3
|
| | |
|
| |
| |
| |
| |
| |
| | |
(taken from old gnu/usr.bin/cpio)
Reviewed by: phk
|
| | |
|
| |
| |
| |
| | |
for Turbo C
|
|/ |
|
|
|