Date: Mon, 7 Jun 2004 04:32:10 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200406070432.i574WAOR077691@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004-06-07 04:32:10 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_tar.c Log: Tar bidder should just return a zero bid ("not me!") if it sees a truncated input the first time it gets called. (In particular, files shorter than 512 bytes cannot be tar archives.) This allows the top-level archive_read_next_header code to generate a proper error message for unrecognized file types. Pointed out by: numerous ports that expect tar to extract non-tar files ;-( Thanks to: Kris Kennaway Revision Changes Path 1.18 +9 -3 src/lib/libarchive/archive_read_support_format_tar.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406070432.i574WAOR077691>