From owner-freebsd-security@freebsd.org Mon Oct 10 21:46:30 2016 Return-Path: Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE6F3C0C406 for ; Mon, 10 Oct 2016 21:46:30 +0000 (UTC) (envelope-from yz@yz.kiev.ua) Received: from nb.yz.kiev.ua (nb.yz.kiev.ua [92.63.99.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BE22AFB; Mon, 10 Oct 2016 21:46:30 +0000 (UTC) (envelope-from yz@yz.kiev.ua) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=yz.kiev.ua; s=dkim; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=OoWGMiasAntJurCQuTmfw6baYMZMHkojvrdI7YHDfug=; b=SNSeo4oJD626SE/3Siv4UyJ62Q xmblQ9N8S1nH/oq211Dn9ZTaFCYjlr0gQET12tkQXN6ftWXM+c/KA0a7JVzoZX6xzbqNHvuNL7UfO K2QETfe1aI+m1s6Y8uB/HXHbX/tGZVA9ytZ/2OAc3kP2dQtESVECSQqFfvSnAVncAESI=; Received: from yz by nb.yz.kiev.ua with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1btiOv-000Ei4-Ta; Tue, 11 Oct 2016 00:46:25 +0300 Date: Tue, 11 Oct 2016 00:46:25 +0300 From: "George L. Yermulnik" To: Gleb Smirnoff Cc: freebsd-security@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-16:31.libarchive Message-ID: <20161010214625.GF57293@yz.kiev.ua> References: <20161010075202.0C4281857@freefall.freebsd.org> <20161010204456.GA57293@yz.kiev.ua> <20161010212342.GF23123@FreeBSD.org> <20161010213743.GE57293@yz.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161010213743.GE57293@yz.kiev.ua> Organization: Earth, Europe, Ukraine, Kiev X-Yz-Mark: yz@nb 20161011 00:44:16 User-Agent: Mutt/1.7.0 (2016-08-17) X-Mailman-Approved-At: Mon, 10 Oct 2016 22:05:42 +0000 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 21:46:30 -0000 Hello! On Tue, 11 Oct 2016 at 00:37:43 (+0300), George L. Yermulnik wrote: > > https://security.FreeBSD.org/patches/SA-16:31/libarchive-10.1.patch > > https://security.FreeBSD.org/patches/SA-16:31/libarchive-10.2.patch > > https://security.FreeBSD.org/patches/SA-16:31/libarchive-10.3.patch > Thanx. I found that already, but Security Advisory is incorrect and that's the point. > Anyway libarchive-10.3.patch generated on my 10.3 box a bunch of rejections, > so I had to checkout contrib/libarchive/libarchive/ and lib/libarchive/tests/ from repository > to be able to rebuild world. Though I'm not able: [--- cut ---] --- archive_read_disk_posix.So --- cc -fpic -DPIC -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST= -O2 -pipe -DHAVE_BZLIB_H=1 -DHAVE_L IBLZMA=1 -DHAVE_LZMA_H=1 -DPLATFORM_CONFIG_H=\"/usr/src/lib/libarchive/config_freebsd.h\" -I/usr/obj /usr/src/lib/libarchive -DWITH_OPENSSL -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-hea ders -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wch ar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable- declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -c / usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_disk_posix.c -o archive_read _disk_posix.So /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_disk_posix.c:1577:37: error : incompatible pointer types passing 'struct vfsconf *' to parameter of type 'struct xvfsconf *' [-W error,-Wincompatible-pointer-types] r = getvfsbyname(sfs.f_fstypename, &vfc); ^~~~ /usr/obj/usr/src/tmp/usr/include/sys/mount.h:947:49: note: passing argument to parameter here int getvfsbyname(const char *, struct xvfsconf *); ^ 1 error generated. *** [archive_read_disk_posix.So] Error code 1 [--- cut ---] FreeBSD 10.3-STABLE i386 -- George L. Yermulnik [YZ-RIPE]