diff options
author | Denys Vlasenko | 2010-07-04 04:26:55 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-07-04 04:26:55 +0200 |
commit | 243d1757d798a0cd43f51eb1db75cc1e81c65732 (patch) | |
tree | 09bad361c80d75a46afcdea52a3f5debb61b8b4d /archival | |
parent | fd744519d1e848c4760c23805bf993396b19c8b2 (diff) | |
download | busybox-243d1757d798a0cd43f51eb1db75cc1e81c65732.zip busybox-243d1757d798a0cd43f51eb1db75cc1e81c65732.tar.gz |
remove some dead assignments, add a TODO comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/data_extract_all.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index c4ffe7e..00e67d4 100644 --- a/archival/libunarchive/data_extract_all.c +++ b/archival/libunarchive/data_extract_all.c @@ -127,6 +127,7 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) break; case S_IFLNK: /* Symlink */ +//TODO: what if file_header->link_target == NULL (say, corrupted tarball?) res = symlink(file_header->link_target, file_header->name); if ((res == -1) && !(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET) |