X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=ChangeLog;h=d213023e287cf1556d4b3e721db3fa8144bcb7be;hb=dbf96ec90315c7c650fa55f783ee6ad6e17d3360;hp=2f1ba59d45c219dd5af9d7785292528bbbefd379;hpb=67c7284d07f9b8de0c0d46c6e8134b856b5fe213;p=chaz%2Ftar diff --git a/ChangeLog b/ChangeLog index 2f1ba59..d213023 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2005-04-04 Paul Eggert + + * src/buffer.c (struct zip_magic): Use char arrays, not pointers. + The unsigned char * pointer ran afoul of pedantic C compilers, and + we didn't need pointers anyway. Put the size field before the + data to avoid unnecessary padding. All uses changed. + (magic) Make it const, since it doesn't change. All uses changed. + +2005-04-02 Paul Eggert + + * src/xheader.c (decode_record): Don't dump core when given + a corrupted extended header. Problem reported by Jim Meyering. + Also, check for other ways that the header might be invalid, + e.g., missing newline at end. Do not allow keys with nulls. + Allow blanks before and after length, as POSIX requires. + Do not allow leading "-" in length. Check for length overflow. + (xheader_decode, xheader_decode_global): Let decode_record + check for exhaustion of record. + (xheader_read): Null-terminate the extended record; + decode_record relies on this. + 2005-03-21 Paul Eggert * bootstrap (TP_URL): Change from @@ -79,7 +100,7 @@ * src/extract.c (extract_file): Handle to_command_option Fix error recovery: decrease `size' by `written', not by `count', otherwise tar misses the next header - Do not diagnose write errror if to_command_option + Do not diagnose write error if to_command_option is set, since the command may have exited prematurely. It would be better to check for sigpipe, though. (prepare_to_extract): Handle to_command_option @@ -183,7 +204,7 @@ (parse_opt): Rewritten handling of -T option. Handle hidden --HANG option for debugging purposes. (decode_options): Init unquote_option to true. Init argv_stk. - Remove unneded references to files_from_option + Remove unneeded references to files_from_option * doc/tar.texi: Document new options. Moved rendition macros and option value definitions into @@ -316,7 +337,7 @@ 2004-12-17 Sergey Poznyakoff * src/delete.c (delete_archive_members): Bugfix: when - attempting to delete an unexisting member, the last + attempting to delete an nonexistent member, the last blocking_factor blocks were zeroed. 2004-12-14 Paul Eggert @@ -345,8 +366,8 @@ * src/buffer.c (hit_eof): Changed type to boolean (read_full_records,reading_from_pipe): New variables (check_compressed_archive,open_compressed_archive): New functions - (open_archive): Autodetect compressed archives and act accodingly. - Set reading_from_pipe. This fixes contraversial set of changes + (open_archive): Autodetect compressed archives and act accordingly. + Set reading_from_pipe. This fixes controversial set of changes introduced 2004-05-11,2004-03-22. * src/list.c (tar_checksum): New function (read_header): Use tar_checksum(). @@ -863,7 +884,7 @@ * configure.ac: Raised version number to 1.14 * NEWS: Updated. * tests/after: Added copyleft statement - * tests/before: Added copyleft statemente + * tests/before: Added copyleft statement * tests/preset.in: Added copyleft statement Tar 1.14 is released. Sources up to this point are tagged @@ -1288,7 +1309,7 @@ * tests/after: Rewritten * tests/before: Rewritten * tests/preset.in: Rewritten - * tests/delete03.sh: Accomodate for the new testsuite logic + * tests/delete03.sh: Accommodate for the new testsuite logic * tests/gzip.sh: Likewise * tests/incremen.sh: Likewise * tests/listed01.sh: Likewise @@ -1929,7 +1950,7 @@ * TODO: Updated * src/common.h (strip_path_elements): New variable. * src/extract.c (extract_archive): Implemented --strip-path - * src/names.c (cut_path_elements): New functon. + * src/names.c (cut_path_elements): New function. * src/tar.c: New option --strip-path=NUM. (decode_options) Assign boolean values to bool variables. @@ -3883,7 +3904,7 @@ * m4/mbstate_t.m4: Include stdio.h before wchar.h, to work around a bug in glibc 2.1.3. - * lib/xmalloc.c: Fix inaccorate comment for xrealloc. + * lib/xmalloc.c: Fix inaccurate comment for xrealloc. 2000-06-19 Paul Eggert