Date: Mon, 28 Dec 2009 02:05:28 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r201082 - head/lib/libarchive Message-ID: <200912280205.nBS25Soo075032@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kientzle Date: Mon Dec 28 02:05:28 2009 New Revision: 201082 URL: http://svn.freebsd.org/changeset/base/201082 Log: Catch certain gzip failures at close time. Modified: head/lib/libarchive/archive_read_support_compression_gzip.c Modified: head/lib/libarchive/archive_read_support_compression_gzip.c ============================================================================== --- head/lib/libarchive/archive_read_support_compression_gzip.c Mon Dec 28 02:04:42 2009 (r201081) +++ head/lib/libarchive/archive_read_support_compression_gzip.c Mon Dec 28 02:05:28 2009 (r201082) @@ -411,6 +411,8 @@ gzip_filter_read(struct archive_read_fil /* Consume the stream trailer; release the * decompression library. */ ret = consume_trailer(self); + if (ret < ARCHIVE_OK) + return (ret); break; default: /* Return an error. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912280205.nBS25Soo075032>