From patchwork Wed Apr 26 11:52:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 755452 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wCdjt3flbz9s5L for ; Wed, 26 Apr 2017 21:52:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eprFLt4Z"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9836388A34; Wed, 26 Apr 2017 11:52:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GjJCx0XsUqRL; Wed, 26 Apr 2017 11:52:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C963988A06; Wed, 26 Apr 2017 11:52:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2396D1C26CD for ; Wed, 26 Apr 2017 11:52:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1F21B88A06 for ; Wed, 26 Apr 2017 11:52:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F4QOW_UVNy0k for ; Wed, 26 Apr 2017 11:52:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 198BF88A03 for ; Wed, 26 Apr 2017 11:52:28 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id d79so408736wmi.2 for ; Wed, 26 Apr 2017 04:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=efh8aITDZt245giLwumRjJL3scpE1jUYNQBKqU4MHds=; b=eprFLt4Z6Z1kltI5LEuJ04a/wzpSUMHenxocizEky8xNuViE0bm/fKxahZ/g88Hl7V iYQQ0Hs06//XBz7/FdRzzQ+qcOm+XHTMcZnzWHqB3bTonexUcCxXoIES7fPexSwrCv8o qBiKrN+w3j5V0fxe9wPJGxaracj0aJlifdLKSXKu67TYtGp60oWbRvqfKyBSVYp3eUsU 2b1qLITf6x5rCLhmkdbJ7Iky1ZXm5fCiiDm518/XaaEkrxQ126t7scy8mlrKY95wzNRF ZbFFZxb8NUT4fIjk10Qu4/DmtY9xRjruxWbaOdaRaSGVaopP7nS9JRR0iSDD+/9vRHtt v+Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=efh8aITDZt245giLwumRjJL3scpE1jUYNQBKqU4MHds=; b=uc2b/w7IUB2Ax2Lf5B9cHr+DZRkmkJEqxd7bD/E2pRUAzcuDKezWmwjrpKT/LDxC1f mQnSv4oRxG2gIdMpo3WzrG8e47TCfBg5+F6lBJ0SyXwi+cFZQH8rKGBskcqqeplxsWYn 3WozcNIQo7Spr8IHcb2Gp42h3DcQ3OVx85svtxx/H32lSO10S44ZBy3dM/hTvNB2Y1aj AOcrf9QbjA0891bYoSD0olqG5q4s4wD5vprWnIGxT/CowKv99vKnOfCCeeCPxPzKmYLg LMDwe78g5MAwti6DGdNVeurP/dsHW+8106HO7h8UC1iGJFqrOEJAOGbzRLRlTt2H181y PQdA== X-Gm-Message-State: AN3rC/7xEfxIawE1DWlBvfXT0oTM/K9khcJlQDPOKrRjiqIg8K4OLjCV ov67I+t4SUei/jnQGM4= X-Received: by 10.80.140.241 with SMTP id r46mr600434edr.38.1493207546178; Wed, 26 Apr 2017 04:52:26 -0700 (PDT) Received: from dell.be.48ers.dk (d51A5BC31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id x26sm960898edx.60.2017.04.26.04.52.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Apr 2017 04:52:16 -0700 (PDT) Received: from peko by dell.be.48ers.dk with local (Exim 4.88) (envelope-from ) id 1d3LUV-00028G-VT; Wed, 26 Apr 2017 13:52:15 +0200 From: Peter Korsgaard To: buildroot@buildroot.org Date: Wed, 26 Apr 2017 13:52:14 +0200 Message-Id: <20170426115214.8152-1-peter@korsgaard.com> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH] libsndfile: security bump to version 1.0.28 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: CVE-2017-7585 - In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file. CVE-2017-7586 - In libsndfile before 1.0.28, an error in the "header_read()" function (common.c) when handling ID3 tags can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file. CVE-2017-7741 - In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a segmentation violation (with write memory access) via a specially crafted FLAC file during a resample attempt, a similar issue to CVE-2017-7585. CVE-2017-7742 - In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a segmentation violation (with read memory access) via a specially crafted FLAC file during a resample attempt, a similar issue to CVE-2017-7585. Dop undocumented patch adjusting SUBDIRS in Makefile.in as it no longer applies. Instead pass --disable-full-suite to disable man pages, documentation and programs, as that was presumably the reason for the patch. Signed-off-by: Peter Korsgaard --- package/libsndfile/0001-srconly.patch | 17 ----------------- package/libsndfile/libsndfile.hash | 2 +- package/libsndfile/libsndfile.mk | 5 +++-- 3 files changed, 4 insertions(+), 20 deletions(-) delete mode 100644 package/libsndfile/0001-srconly.patch diff --git a/package/libsndfile/0001-srconly.patch b/package/libsndfile/0001-srconly.patch deleted file mode 100644 index 417e34072..000000000 --- a/package/libsndfile/0001-srconly.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: libsndfile-1.0.18/Makefile.in -=================================================================== ---- libsndfile-1.0.18.orig/Makefile.in -+++ libsndfile-1.0.18/Makefile.in -@@ -260,7 +260,7 @@ - top_srcdir = @top_srcdir@ - DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror - @BUILD_OCTAVE_MOD_TRUE@octave_dir = Octave --SUBDIRS = M4 man doc Win32 src $(octave_dir) examples regtest tests programs -+SUBDIRS = src - DIST_SUBDIRS = M4 man doc Win32 src Octave examples regtest tests programs - EXTRA_DIST = libsndfile.spec.in sndfile.pc.in Mingw-make-dist.sh - pkgconfigdir = $(libdir)/pkgconfig diff --git a/package/libsndfile/libsndfile.hash b/package/libsndfile/libsndfile.hash index a87b7c308..31500cd97 100644 --- a/package/libsndfile/libsndfile.hash +++ b/package/libsndfile/libsndfile.hash @@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0 libsndfile-1.0.27.tar.gz +sha256 1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9 libsndfile-1.0.28.tar.gz diff --git a/package/libsndfile/libsndfile.mk b/package/libsndfile/libsndfile.mk index 936f4be21..22909ffb6 100644 --- a/package/libsndfile/libsndfile.mk +++ b/package/libsndfile/libsndfile.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBSNDFILE_VERSION = 1.0.27 +LIBSNDFILE_VERSION = 1.0.28 LIBSNDFILE_SITE = http://www.mega-nerd.com/libsndfile/files LIBSNDFILE_INSTALL_STAGING = YES LIBSNDFILE_LICENSE = LGPL-2.1+ @@ -13,6 +13,7 @@ LIBSNDFILE_LICENSE_FILES = COPYING LIBSNDFILE_CONF_OPTS = \ --disable-sqlite \ --disable-alsa \ - --disable-external-libs + --disable-external-libs \ + --disable-full-suite $(eval $(autotools-package))