From owner-cvs-src@FreeBSD.ORG Tue Apr 13 16:45:38 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2733416A4CE; Tue, 13 Apr 2004 16:45:38 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FAF243D1F; Tue, 13 Apr 2004 16:45:38 -0700 (PDT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3DNjbGe043763; Tue, 13 Apr 2004 16:45:37 -0700 (PDT) (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3DNjbPE043762; Tue, 13 Apr 2004 16:45:37 -0700 (PDT) (envelope-from kientzle) Message-Id: <200404132345.i3DNjbPE043762@repoman.freebsd.org> From: Tim Kientzle Date: Tue, 13 Apr 2004 16:45:37 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libarchive archive_entry.c archive_entry.h archive_read_support_format_cpio.carchive_write_set_format_cpio.c archive_write_set_format_ustar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 23:45:38 -0000 kientzle 2004/04/13 16:45:37 PDT FreeBSD src repository Modified files: lib/libarchive archive_entry.c archive_entry.h archive_read.c archive_read_open_file.c archive_read_support_format_cpio.c archive_read_support_format_tar.c archive_write.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_shar.c archive_write_set_format_ustar.c Log: * Plug a buffer overrun in ACL parsing. (archive_entry.c) * Re-use a single buffer for shar output formatting rather than hammering the heap. (archive_write_set_format_shar.c) * Fix a handful of minor memory leaks and clean up some of the memory-management code. Revision Changes Path 1.7 +7 -0 src/lib/libarchive/archive_entry.c 1.6 +1 -0 src/lib/libarchive/archive_entry.h 1.6 +3 -3 src/lib/libarchive/archive_read.c 1.5 +4 -1 src/lib/libarchive/archive_read_open_file.c 1.7 +7 -2 src/lib/libarchive/archive_read_support_format_cpio.c 1.8 +17 -17 src/lib/libarchive/archive_read_support_format_tar.c 1.6 +2 -2 src/lib/libarchive/archive_write.c 1.4 +5 -0 src/lib/libarchive/archive_write_set_format_cpio.c 1.8 +7 -3 src/lib/libarchive/archive_write_set_format_pax.c 1.5 +32 -14 src/lib/libarchive/archive_write_set_format_shar.c 1.5 +10 -8 src/lib/libarchive/archive_write_set_format_ustar.c