From owner-cvs-all@FreeBSD.ORG Fri Nov 2 08:42:14 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3EAB16A417; Fri, 2 Nov 2007 08:42:14 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B5CFA13C480; Fri, 2 Nov 2007 08:42:14 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA28gERJ096374; Fri, 2 Nov 2007 08:42:14 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA28gE8N096373; Fri, 2 Nov 2007 08:42:14 GMT (envelope-from kientzle) Message-Id: <200711020842.lA28gE8N096373@repoman.freebsd.org> From: Tim Kientzle Date: Fri, 2 Nov 2007 08:42:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_compression_none.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 08:42:14 -0000 kientzle 2007-11-02 08:42:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_compression_none.c Log: MFC 1.18: When skipping input data, request a minimum of 1 instead of the full request size. This avoids a 32-bit overflow problem skipping an exact multiple of 4GB and is faster anyway because it allows the underlying I/O framework to minimize copying. In particular, this fixes bsdtar failing to properly skip entries in uncompressed tar archives that are an exact multiple of 4GB. Approved by: re (Ken Smith) Revision Changes Path 1.17.2.1 +1 -1 src/lib/libarchive/archive_read_support_compression_none.c