83b3531ec2876fa76817501bf1a38d4438ac39e6 |
|
13-May-2017 |
Elliott Hughes <enh@google.com> |
Add bzip2 support to tar. Also trivial cleanup of pipe -> xpipe. Bug: http://b/38215123
/external/toybox/toys/pending/tar.c
|
ae7ea62eea205d2816e09070b034a588dbaaaa6a |
|
14-Jan-2017 |
Rob Landley <rob@landley.net> |
Quick and dirty fix for CVE-2016-6321 but seriously this is in pending for a reason and I need to completely rewrite it.
/external/toybox/toys/pending/tar.c
|
382057f588fbf2c2f7950b85dd317721b8d04c07 |
|
21-Nov-2016 |
Rob Landley <rob@landley.net> |
Have dirtree_notdotdot() pass through !node->parent so . and .. on the command line aren't filtered out. Audited all the callers and removed redundant calls, adjusted call sequence, etc. (And let rm _not_ do this, because posix.)
/external/toybox/toys/pending/tar.c
|
9b4a67545e11975068d6e16c6872d54e0473e715 |
|
19-Nov-2016 |
Rob Landley <rob@landley.net> |
Bug report from Justin Cormack, tar was producing a warning to stdout that screwed up "tar c" to stdout.
/external/toybox/toys/pending/tar.c
|
8d95074b7d034188af8542aaea0306d3670d71be |
|
07-Mar-2016 |
Rob Landley <rob@landley.net> |
Cleanup pass on the dirtree infrastructure, in preparation for making rm -r handle infinite depth. Fix docs, tweak dirtree_handle_callback() semantics, remove dirtree_start() and don't export dirtree_handle_callback(), instead offer dirtree_flagread(). (dirtree_read() is a wrapper around dirtree_flagread passing 0 for flags.)
/external/toybox/toys/pending/tar.c
|
7ca5dc4232b9ac5ee5cd25c8b5b33a58904cd251 |
|
02-Mar-2016 |
Rob Landley <rob@landley.net> |
For years the man pages have said to #include <sys/types.h> to get major/minor/makedev, but glibc has vowed to break existing programs (https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html) and replace it with _another_ non-standard header (not in posix or lsb), so let's just add functions to lib/ that do the transform ourselves.
/external/toybox/toys/pending/tar.c
|
28711d308d9d70801ac0c9552df834ddafff2385 |
|
10-Feb-2016 |
Tom Marshall <tdm@cyngn.com> |
toybox: tar: Fix support for long names Pathnames may be longer than the name field in the header, so use strncpy() instead of xstrncpy() to avoid bailing out. Also add unit tests to ensure proper handling of short and long pathnames. Change-Id: Id025891993746889564b479e5185cf9721b54a55
/external/toybox/toys/pending/tar.c
|
85f54d8e836ac80264111df7d87db6c15eaca558 |
|
08-Feb-2016 |
Rob Landley <rob@landley.net> |
Add xpipe() to lib.
/external/toybox/toys/pending/tar.c
|
aab9164df395a4b0878b0ad930a5ec8a806a58e9 |
|
10-May-2015 |
Rob Landley <rob@landley.net> |
Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from under traversal. Pass through full flag set in dirtree_add_node(), add dirtree_start() wrapper to provide symlink-only behavior (avoiding a lot of DIRTREE_SYMFOLLOW*!!(logic) repeated in callers).
/external/toybox/toys/pending/tar.c
|
40f7fb02aaceecee2625191afecaeea8ca95e259 |
|
04-Mar-2015 |
Rob Landley <rob@landley.net> |
Quick cleanup pass on tar.
/external/toybox/toys/pending/tar.c
|
4bbec1e41580c9200cae03c9549fb032596b2b30 |
|
01-Mar-2015 |
Elliott Hughes <enh@google.com> |
fix format problems in tar.c %o is unsigned, but off_t is signed. * takes an int. an error_msg call was missing an argument. only one of these is an actual error, but i'd like to fix the others too so that we (toybox, but if not, then Android) can turn on format string warnings to prevent future bugs like the stat.c LP32 ones.
/external/toybox/toys/pending/tar.c
|
82effc97f9f2d1c258ea50cb11b130753b8ba805 |
|
01-Jan-2015 |
Rob Landley <rob@landley.net> |
Switch a lot of strncpy() calls to xstrncpy().
/external/toybox/toys/pending/tar.c
|
7eb3e4364c2bcebd2fdfef52c07f5101aa03e5bb |
|
12-Aug-2014 |
Ashwini Sharma <ak.ashwini1981@gmail.com> |
Patches to commands for issues reported from static analysis tool. portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.]
/external/toybox/toys/pending/tar.c
|
15e02f09549e34e839a6b74fdfb3c1d1974bb635 |
|
05-Jul-2014 |
Ashwini Sharma <ak.ashwini1981@gmail.com> |
TAR - this supports archive creation and extraction based on the USTAR format (described in PAX Spec). For (de)compression '-z' gzip is supported.
/external/toybox/toys/pending/tar.c
|