busybox/archival/libarchive
Denys Vlasenko bc9bbeb2b8 libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1
function                                             old     new   delta
unsafe_symlink_target                                  -     147    +147
unzip_main                                          2711    2732     +21
copy_file                                           1657    1678     +21
tar_main                                             999     971     -28
data_extract_all                                    1038     984     -54
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/2 up/down: 189/-82)           Total: 107 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-10 11:52:42 +02:00
..
bz Removes stray empty line from code 2015-07-13 03:25:46 +02:00
unxz Spelling fixes in comments, documentation, tests and examples 2017-04-17 16:13:32 +02:00
common.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
data_align.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
data_extract_all.c libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1 2017-08-10 11:52:42 +02:00
data_extract_to_command.c libbb: two new functions: wait_for_exitstatus(pid), xfchdir(fd) 2016-04-01 22:12:44 +02:00
data_extract_to_stdout.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
data_skip.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
decompress_bunzip2.c Spelling fixes in comments, documentation, tests and examples 2017-04-17 16:13:32 +02:00
decompress_gunzip.c libarchive: fix xmalloc_open_zipped_read_close() on NOMMU 2016-06-20 11:06:42 +02:00
decompress_uncompress.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
decompress_unlzma.c unlzma: expand comments, no code changes 2017-01-09 14:28:25 +01:00
decompress_unxz.c unxz: get_le32 macro is obviously wrong 2017-08-07 20:56:54 +02:00
filter_accept_all.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
filter_accept_list_reassign.c dpkg: update supported compression methods 2015-01-30 15:15:38 +01:00
filter_accept_list.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
filter_accept_reject_list.c trivial small speed optimization 2012-06-22 15:54:05 +02:00
find_list_entry.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
get_header_ar.c ar: better comment 2013-09-10 16:27:08 +02:00
get_header_cpio.c cpio: implement -R/--owner 2015-10-16 17:24:46 +02:00
get_header_tar_bz2.c libarchive: add capability to unpack to mem.buffer 2014-12-07 00:44:00 +01:00
get_header_tar_gz.c libarchive: add capability to unpack to mem.buffer 2014-12-07 00:44:00 +01:00
get_header_tar_lzma.c libarchive: add capability to unpack to mem.buffer 2014-12-07 00:44:00 +01:00
get_header_tar_xz.c dpkg: update supported compression methods 2015-01-30 15:15:38 +01:00
get_header_tar.c tar: handle pax-encoded utf8 filenames and link names. Closes 9406 2016-11-11 17:56:45 +01:00
header_list.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
header_skip.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
header_verbose_list.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
init_handle.c cpio: fix restoration of file ownership, closes 9306 2016-10-12 20:56:46 +02:00
Kbuild.src libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1 2017-08-10 11:52:42 +02:00
liblzo.h lzop: add overflow check 2014-06-30 10:14:34 +02:00
lzo1x_1.c
lzo1x_1o.c
lzo1x_9x.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
lzo1x_c.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
lzo1x_d.c lzop: add overflow check 2014-06-30 10:14:34 +02:00
open_transformer.c rpm2cpio: handle LZMA compressed rpms. closes 10166 2017-08-10 10:36:37 +02:00
seek_by_jump.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
seek_by_read.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
unpack_ar_archive.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
unsafe_prefix.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
unsafe_symlink_target.c libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1 2017-08-10 11:52:42 +02:00