busybox/archival
Denys Vlasenko 037759bb4f tar: handle the case when opened created tarball happens to have fd#0
Reproducer:
    exec 0>&-
    exec 1>&-
    tar czf z.tar.gz FILE

function                                             old     new   delta
vfork_compressor                                     229     257     +28

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-08-04 18:15:19 +02:00
..
libarchive unlzma: close another SEGV possibility 2018-05-25 17:03:46 +02:00
ar.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
bbunzip_test2.sh
bbunzip_test3.sh
bbunzip_test.sh
bbunzip.c libarchive: move bbunpack constants to bb_archive.h 2018-02-01 09:13:14 +01:00
bzip2.c bzip2: expose tuning knob for faster/smaller code 2018-02-07 01:33:25 +01:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
cpio.c cpio: if longopts are enabled, accept --null (synonym for -0) 2018-07-06 20:50:30 +02:00
dpkg_deb.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
dpkg.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
gzip.c gzip: unbreak FEATURE_GZIP_LEVELS, closes 11171 2018-07-24 21:12:58 +02:00
Kbuild.src cpio: implement -R/--owner 2015-10-16 17:24:46 +02:00
lzop.c lzop: remove method checks which are always true/false 2018-04-08 16:44:45 +02:00
rpm.c rpm,rpm2cpio: do not compile not-configurred parts of rpm.c 2017-08-22 15:33:04 +02:00
rpm.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tar_symlink_attack tar: postpone creation of symlinks with "suspicious" targets. Closes 8411 2017-07-24 17:20:13 +02:00
tar.c tar: handle the case when opened created tarball happens to have fd#0 2018-08-04 18:15:19 +02:00
unzip.c tar: fix interaction of delayed symlink and hardlink creation 2018-05-22 17:34:31 +02:00