diff options
Diffstat (limited to 'archival')
29 files changed, 43 insertions, 57 deletions
diff --git a/archival/libarchive/common.c b/archival/libarchive/common.c index 389cb7856..25c7bddad 100644 --- a/archival/libarchive/common.c +++ b/archival/libarchive/common.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/data_align.c b/archival/libarchive/data_align.c index a6b84a440..f61fdd93f 100644 --- a/archival/libarchive/data_align.c +++ b/archival/libarchive/data_align.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/data_extract_all.c b/archival/libarchive/data_extract_all.c index e658444e0..d3a6df5e8 100644 --- a/archival/libarchive/data_extract_all.c +++ b/archival/libarchive/data_extract_all.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/data_extract_to_command.c b/archival/libarchive/data_extract_to_command.c index 5d8769382..1114a95cb 100644 --- a/archival/libarchive/data_extract_to_command.c +++ b/archival/libarchive/data_extract_to_command.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/data_extract_to_stdout.c b/archival/libarchive/data_extract_to_stdout.c index f849f3b42..520041329 100644 --- a/archival/libarchive/data_extract_to_stdout.c +++ b/archival/libarchive/data_extract_to_stdout.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/data_skip.c b/archival/libarchive/data_skip.c index 588167f01..1a608227e 100644 --- a/archival/libarchive/data_skip.c +++ b/archival/libarchive/data_skip.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/decompress_bunzip2.c b/archival/libarchive/decompress_bunzip2.c index 803702f75..bec89edd3 100644 --- a/archival/libarchive/decompress_bunzip2.c +++ b/archival/libarchive/decompress_bunzip2.c | |||
@@ -1,14 +1,14 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* Small bzip2 deflate implementation, by Rob Landley (rob@landley.net). | 2 | /* |
3 | 3 | * Small bzip2 deflate implementation, by Rob Landley (rob@landley.net). | |
4 | Based on bzip2 decompression code by Julian R Seward (jseward@acm.org), | 4 | * |
5 | which also acknowledges contributions by Mike Burrows, David Wheeler, | 5 | * Based on bzip2 decompression code by Julian R Seward (jseward@acm.org), |
6 | Peter Fenwick, Alistair Moffat, Radford Neal, Ian H. Witten, | 6 | * which also acknowledges contributions by Mike Burrows, David Wheeler, |
7 | Robert Sedgewick, and Jon L. Bentley. | 7 | * Peter Fenwick, Alistair Moffat, Radford Neal, Ian H. Witten, |
8 | 8 | * Robert Sedgewick, and Jon L. Bentley. | |
9 | Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * |
10 | */ | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | 11 | */ | |
12 | /* | 12 | /* |
13 | Size and speed optimizations by Manuel Novoa III (mjn3@codepoet.org). | 13 | Size and speed optimizations by Manuel Novoa III (mjn3@codepoet.org). |
14 | 14 | ||
@@ -38,7 +38,6 @@ | |||
38 | 38 | ||
39 | Manuel | 39 | Manuel |
40 | */ | 40 | */ |
41 | |||
42 | #include "libbb.h" | 41 | #include "libbb.h" |
43 | #include "bb_archive.h" | 42 | #include "bb_archive.h" |
44 | 43 | ||
@@ -157,15 +156,15 @@ static unsigned get_bits(bunzip_data *bd, int bits_wanted) | |||
157 | static int get_next_block(bunzip_data *bd) | 156 | static int get_next_block(bunzip_data *bd) |
158 | { | 157 | { |
159 | struct group_data *hufGroup; | 158 | struct group_data *hufGroup; |
160 | int dbufCount, dbufSize, groupCount, *base, *limit, selector, | 159 | int groupCount, *base, *limit, selector, |
161 | i, j, runPos, symCount, symTotal, nSelectors, byteCount[256]; | 160 | i, j, symCount, symTotal, nSelectors, byteCount[256]; |
162 | int runCnt = runCnt; /* for compiler */ | ||
163 | uint8_t uc, symToByte[256], mtfSymbol[256], *selectors; | 161 | uint8_t uc, symToByte[256], mtfSymbol[256], *selectors; |
164 | uint32_t *dbuf; | 162 | uint32_t *dbuf; |
165 | unsigned origPtr, t; | 163 | unsigned origPtr, t; |
164 | unsigned dbufCount, runPos; | ||
165 | unsigned runCnt = runCnt; /* for compiler */ | ||
166 | 166 | ||
167 | dbuf = bd->dbuf; | 167 | dbuf = bd->dbuf; |
168 | dbufSize = bd->dbufSize; | ||
169 | selectors = bd->selectors; | 168 | selectors = bd->selectors; |
170 | 169 | ||
171 | /* In bbox, we are ok with aborting through setjmp which is set up in start_bunzip */ | 170 | /* In bbox, we are ok with aborting through setjmp which is set up in start_bunzip */ |
@@ -188,7 +187,7 @@ static int get_next_block(bunzip_data *bd) | |||
188 | it didn't actually work. */ | 187 | it didn't actually work. */ |
189 | if (get_bits(bd, 1)) return RETVAL_OBSOLETE_INPUT; | 188 | if (get_bits(bd, 1)) return RETVAL_OBSOLETE_INPUT; |
190 | origPtr = get_bits(bd, 24); | 189 | origPtr = get_bits(bd, 24); |
191 | if ((int)origPtr > dbufSize) return RETVAL_DATA_ERROR; | 190 | if (origPtr > bd->dbufSize) return RETVAL_DATA_ERROR; |
192 | 191 | ||
193 | /* mapping table: if some byte values are never used (encoding things | 192 | /* mapping table: if some byte values are never used (encoding things |
194 | like ascii text), the compression code removes the gaps to have fewer | 193 | like ascii text), the compression code removes the gaps to have fewer |
@@ -436,7 +435,14 @@ static int get_next_block(bunzip_data *bd) | |||
436 | symbols, but a run of length 0 doesn't mean anything in this | 435 | symbols, but a run of length 0 doesn't mean anything in this |
437 | context). Thus space is saved. */ | 436 | context). Thus space is saved. */ |
438 | runCnt += (runPos << nextSym); /* +runPos if RUNA; +2*runPos if RUNB */ | 437 | runCnt += (runPos << nextSym); /* +runPos if RUNA; +2*runPos if RUNB */ |
439 | if (runPos < dbufSize) runPos <<= 1; | 438 | //The 32-bit overflow of runCnt wasn't yet seen, but probably can happen. |
439 | //This would be the fix (catches too large count way before it can overflow): | ||
440 | // if (runCnt > bd->dbufSize) { | ||
441 | // dbg("runCnt:%u > dbufSize:%u RETVAL_DATA_ERROR", | ||
442 | // runCnt, bd->dbufSize); | ||
443 | // return RETVAL_DATA_ERROR; | ||
444 | // } | ||
445 | if (runPos < bd->dbufSize) runPos <<= 1; | ||
440 | goto end_of_huffman_loop; | 446 | goto end_of_huffman_loop; |
441 | } | 447 | } |
442 | 448 | ||
@@ -446,14 +452,15 @@ static int get_next_block(bunzip_data *bd) | |||
446 | literal used is the one at the head of the mtfSymbol array.) */ | 452 | literal used is the one at the head of the mtfSymbol array.) */ |
447 | if (runPos != 0) { | 453 | if (runPos != 0) { |
448 | uint8_t tmp_byte; | 454 | uint8_t tmp_byte; |
449 | if (dbufCount + runCnt > dbufSize) { | 455 | if (dbufCount + runCnt > bd->dbufSize) { |
450 | dbg("dbufCount:%d+runCnt:%d %d > dbufSize:%d RETVAL_DATA_ERROR", | 456 | dbg("dbufCount:%u+runCnt:%u %u > dbufSize:%u RETVAL_DATA_ERROR", |
451 | dbufCount, runCnt, dbufCount + runCnt, dbufSize); | 457 | dbufCount, runCnt, dbufCount + runCnt, bd->dbufSize); |
452 | return RETVAL_DATA_ERROR; | 458 | return RETVAL_DATA_ERROR; |
453 | } | 459 | } |
454 | tmp_byte = symToByte[mtfSymbol[0]]; | 460 | tmp_byte = symToByte[mtfSymbol[0]]; |
455 | byteCount[tmp_byte] += runCnt; | 461 | byteCount[tmp_byte] += runCnt; |
456 | while (--runCnt >= 0) dbuf[dbufCount++] = (uint32_t)tmp_byte; | 462 | while ((int)--runCnt >= 0) |
463 | dbuf[dbufCount++] = (uint32_t)tmp_byte; | ||
457 | runPos = 0; | 464 | runPos = 0; |
458 | } | 465 | } |
459 | 466 | ||
@@ -467,7 +474,7 @@ static int get_next_block(bunzip_data *bd) | |||
467 | first symbol in the mtf array, position 0, would have been handled | 474 | first symbol in the mtf array, position 0, would have been handled |
468 | as part of a run above. Therefore 1 unused mtf position minus | 475 | as part of a run above. Therefore 1 unused mtf position minus |
469 | 2 non-literal nextSym values equals -1.) */ | 476 | 2 non-literal nextSym values equals -1.) */ |
470 | if (dbufCount >= dbufSize) return RETVAL_DATA_ERROR; | 477 | if (dbufCount >= bd->dbufSize) return RETVAL_DATA_ERROR; |
471 | i = nextSym - 1; | 478 | i = nextSym - 1; |
472 | uc = mtfSymbol[i]; | 479 | uc = mtfSymbol[i]; |
473 | 480 | ||
diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c index 74d364379..14a901792 100644 --- a/archival/libarchive/decompress_gunzip.c +++ b/archival/libarchive/decompress_gunzip.c | |||
@@ -32,7 +32,6 @@ | |||
32 | * | 32 | * |
33 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 33 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
34 | */ | 34 | */ |
35 | |||
36 | #include <setjmp.h> | 35 | #include <setjmp.h> |
37 | #include "libbb.h" | 36 | #include "libbb.h" |
38 | #include "bb_archive.h" | 37 | #include "bb_archive.h" |
diff --git a/archival/libarchive/decompress_uncompress.c b/archival/libarchive/decompress_uncompress.c index 034ed502d..1517559c6 100644 --- a/archival/libarchive/decompress_uncompress.c +++ b/archival/libarchive/decompress_uncompress.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* uncompress for busybox -- (c) 2002 Robert Griebl | 2 | /* |
3 | * uncompress for busybox -- (c) 2002 Robert Griebl | ||
3 | * | 4 | * |
4 | * based on the original compress42.c source | 5 | * based on the original compress42.c source |
5 | * (see disclaimer below) | 6 | * (see disclaimer below) |
6 | */ | 7 | */ |
7 | |||
8 | /* (N)compress42.c - File compression ala IEEE Computer, Mar 1992. | 8 | /* (N)compress42.c - File compression ala IEEE Computer, Mar 1992. |
9 | * | 9 | * |
10 | * Authors: | 10 | * Authors: |
@@ -21,9 +21,7 @@ | |||
21 | * marc@suse.de : a small security fix for a buffer overflow | 21 | * marc@suse.de : a small security fix for a buffer overflow |
22 | * | 22 | * |
23 | * [... History snipped ...] | 23 | * [... History snipped ...] |
24 | * | ||
25 | */ | 24 | */ |
26 | |||
27 | #include "libbb.h" | 25 | #include "libbb.h" |
28 | #include "bb_archive.h" | 26 | #include "bb_archive.h" |
29 | 27 | ||
diff --git a/archival/libarchive/decompress_unlzma.c b/archival/libarchive/decompress_unlzma.c index a9040877e..be4342414 100644 --- a/archival/libarchive/decompress_unlzma.c +++ b/archival/libarchive/decompress_unlzma.c | |||
@@ -450,8 +450,12 @@ unpack_lzma_stream(transformer_state_t *xstate) | |||
450 | IF_NOT_FEATURE_LZMA_FAST(string:) | 450 | IF_NOT_FEATURE_LZMA_FAST(string:) |
451 | do { | 451 | do { |
452 | uint32_t pos = buffer_pos - rep0; | 452 | uint32_t pos = buffer_pos - rep0; |
453 | if ((int32_t)pos < 0) | 453 | if ((int32_t)pos < 0) { |
454 | pos += header.dict_size; | 454 | pos += header.dict_size; |
455 | /* bug 10436 has an example file where this triggers: */ | ||
456 | if ((int32_t)pos < 0) | ||
457 | goto bad; | ||
458 | } | ||
455 | previous_byte = buffer[pos]; | 459 | previous_byte = buffer[pos]; |
456 | IF_NOT_FEATURE_LZMA_FAST(one_byte2:) | 460 | IF_NOT_FEATURE_LZMA_FAST(one_byte2:) |
457 | buffer[buffer_pos++] = previous_byte; | 461 | buffer[buffer_pos++] = previous_byte; |
diff --git a/archival/libarchive/filter_accept_all.c b/archival/libarchive/filter_accept_all.c index c33f7d3e3..5a0ee9c60 100644 --- a/archival/libarchive/filter_accept_all.c +++ b/archival/libarchive/filter_accept_all.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | |||
8 | #include "libbb.h" | 7 | #include "libbb.h" |
9 | #include "bb_archive.h" | 8 | #include "bb_archive.h" |
10 | 9 | ||
diff --git a/archival/libarchive/filter_accept_list.c b/archival/libarchive/filter_accept_list.c index a2d4b23e9..32f806574 100644 --- a/archival/libarchive/filter_accept_list.c +++ b/archival/libarchive/filter_accept_list.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | |||
8 | #include "libbb.h" | 7 | #include "libbb.h" |
9 | #include "bb_archive.h" | 8 | #include "bb_archive.h" |
10 | 9 | ||
diff --git a/archival/libarchive/filter_accept_list_reassign.c b/archival/libarchive/filter_accept_list_reassign.c index b9acfbc05..826c5c29d 100644 --- a/archival/libarchive/filter_accept_list_reassign.c +++ b/archival/libarchive/filter_accept_list_reassign.c | |||
@@ -1,10 +1,9 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Copyright (C) 2002 by Glenn McGrath | 3 | * Copyright (C) 2002 by Glenn McGrath |
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | |||
8 | #include "libbb.h" | 7 | #include "libbb.h" |
9 | #include "bb_archive.h" | 8 | #include "bb_archive.h" |
10 | 9 | ||
diff --git a/archival/libarchive/filter_accept_reject_list.c b/archival/libarchive/filter_accept_reject_list.c index 248374941..939e626fa 100644 --- a/archival/libarchive/filter_accept_reject_list.c +++ b/archival/libarchive/filter_accept_reject_list.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | |||
8 | #include "libbb.h" | 7 | #include "libbb.h" |
9 | #include "bb_archive.h" | 8 | #include "bb_archive.h" |
10 | 9 | ||
diff --git a/archival/libarchive/find_list_entry.c b/archival/libarchive/find_list_entry.c index 56032c65a..37726bd3d 100644 --- a/archival/libarchive/find_list_entry.c +++ b/archival/libarchive/find_list_entry.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | |||
8 | #include <fnmatch.h> | 7 | #include <fnmatch.h> |
9 | #include "libbb.h" | 8 | #include "libbb.h" |
10 | #include "bb_archive.h" | 9 | #include "bb_archive.h" |
diff --git a/archival/libarchive/get_header_ar.c b/archival/libarchive/get_header_ar.c index c66bb3ee7..1809ec396 100644 --- a/archival/libarchive/get_header_ar.c +++ b/archival/libarchive/get_header_ar.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* Copyright 2001 Glenn McGrath. | 2 | /* |
3 | * Copyright 2001 Glenn McGrath. | ||
3 | * | 4 | * |
4 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
5 | */ | 6 | */ |
6 | |||
7 | #include "libbb.h" | 7 | #include "libbb.h" |
8 | #include "bb_archive.h" | 8 | #include "bb_archive.h" |
9 | #include "ar.h" | 9 | #include "ar.h" |
diff --git a/archival/libarchive/get_header_cpio.c b/archival/libarchive/get_header_cpio.c index badd4a841..75fc6a406 100644 --- a/archival/libarchive/get_header_cpio.c +++ b/archival/libarchive/get_header_cpio.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* Copyright 2002 Laurence Anderson | 2 | /* |
3 | * Copyright 2002 Laurence Anderson | ||
3 | * | 4 | * |
4 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
5 | */ | 6 | */ |
6 | |||
7 | #include "libbb.h" | 7 | #include "libbb.h" |
8 | #include "bb_archive.h" | 8 | #include "bb_archive.h" |
9 | 9 | ||
diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c index c7e3bc16e..aeb54190f 100644 --- a/archival/libarchive/get_header_tar.c +++ b/archival/libarchive/get_header_tar.c | |||
@@ -1,5 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* Licensed under GPLv2 or later, see file LICENSE in this source tree. | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | ||
3 | * | 4 | * |
4 | * FIXME: | 5 | * FIXME: |
5 | * In privileged mode if uname and gname map to a uid and gid then use the | 6 | * In privileged mode if uname and gname map to a uid and gid then use the |
@@ -10,7 +11,6 @@ | |||
10 | * Opengroup's ustar interchange format, | 11 | * Opengroup's ustar interchange format, |
11 | * http://www.opengroup.org/onlinepubs/007904975/utilities/pax.html | 12 | * http://www.opengroup.org/onlinepubs/007904975/utilities/pax.html |
12 | */ | 13 | */ |
13 | |||
14 | #include "libbb.h" | 14 | #include "libbb.h" |
15 | #include "bb_archive.h" | 15 | #include "bb_archive.h" |
16 | 16 | ||
diff --git a/archival/libarchive/get_header_tar_bz2.c b/archival/libarchive/get_header_tar_bz2.c index 78f78a858..c021720ac 100644 --- a/archival/libarchive/get_header_tar_bz2.c +++ b/archival/libarchive/get_header_tar_bz2.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/get_header_tar_gz.c b/archival/libarchive/get_header_tar_gz.c index b11f503dc..793b161a1 100644 --- a/archival/libarchive/get_header_tar_gz.c +++ b/archival/libarchive/get_header_tar_gz.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/get_header_tar_lzma.c b/archival/libarchive/get_header_tar_lzma.c index d228cbc13..15d10adb8 100644 --- a/archival/libarchive/get_header_tar_lzma.c +++ b/archival/libarchive/get_header_tar_lzma.c | |||
@@ -5,7 +5,6 @@ | |||
5 | * | 5 | * |
6 | * Licensed under GPLv2, see file LICENSE in this source tree. | 6 | * Licensed under GPLv2, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
8 | |||
9 | #include "libbb.h" | 8 | #include "libbb.h" |
10 | #include "bb_archive.h" | 9 | #include "bb_archive.h" |
11 | 10 | ||
diff --git a/archival/libarchive/get_header_tar_xz.c b/archival/libarchive/get_header_tar_xz.c index 7bf3b3b56..852c989ce 100644 --- a/archival/libarchive/get_header_tar_xz.c +++ b/archival/libarchive/get_header_tar_xz.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/header_verbose_list.c b/archival/libarchive/header_verbose_list.c index 87dd82136..be5140f8b 100644 --- a/archival/libarchive/header_verbose_list.c +++ b/archival/libarchive/header_verbose_list.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/init_handle.c b/archival/libarchive/init_handle.c index dcba6666f..4c64dac58 100644 --- a/archival/libarchive/init_handle.c +++ b/archival/libarchive/init_handle.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/open_transformer.c b/archival/libarchive/open_transformer.c index 7d912152c..0160a64fe 100644 --- a/archival/libarchive/open_transformer.c +++ b/archival/libarchive/open_transformer.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/seek_by_jump.c b/archival/libarchive/seek_by_jump.c index 4fcd99ac8..232d97e53 100644 --- a/archival/libarchive/seek_by_jump.c +++ b/archival/libarchive/seek_by_jump.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/seek_by_read.c b/archival/libarchive/seek_by_read.c index c0fde9660..df2346354 100644 --- a/archival/libarchive/seek_by_read.c +++ b/archival/libarchive/seek_by_read.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||
diff --git a/archival/libarchive/unpack_ar_archive.c b/archival/libarchive/unpack_ar_archive.c index 0bc030349..4f9f89874 100644 --- a/archival/libarchive/unpack_ar_archive.c +++ b/archival/libarchive/unpack_ar_archive.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | #include "ar.h" | 7 | #include "ar.h" |
diff --git a/archival/libarchive/unsafe_prefix.c b/archival/libarchive/unsafe_prefix.c index 9994f4d94..33e487bf9 100644 --- a/archival/libarchive/unsafe_prefix.c +++ b/archival/libarchive/unsafe_prefix.c | |||
@@ -2,7 +2,6 @@ | |||
2 | /* | 2 | /* |
3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | |||
6 | #include "libbb.h" | 5 | #include "libbb.h" |
7 | #include "bb_archive.h" | 6 | #include "bb_archive.h" |
8 | 7 | ||