From owner-svn-ports-all@FreeBSD.ORG Sun May 31 09:14:03 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9E87D8D; Sun, 31 May 2015 09:14:03 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 9721A14E1; Sun, 31 May 2015 09:14:03 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4V9E3Bv008309; Sun, 31 May 2015 09:14:03 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4V9E3KW008307; Sun, 31 May 2015 09:14:03 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201505310914.t4V9E3KW008307@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Sun, 31 May 2015 09:14:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388051 - in head/graphics/rawstudio: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2015 09:14:03 -0000 Author: delphij Date: Sun May 31 09:14:02 2015 New Revision: 388051 URL: https://svnweb.freebsd.org/changeset/ports/388051 Log: Apply vendor patch for "Avoid overflow in ljpeg_start()" (changeset 983bda1f) to prevent a denial of service (crash) via a crafted image PR: 200199 Obtained from: https://github.com/rawstudio/rawstudio/commit/983bda1f0fa5fa86884381208274198a620f006e Security: CVE-2015-3885 Security: 57325ecf-facc-11e4-968f-b888e347c638 Submitted by: Jason Unovitch Reported by: Sevan Janiyan Approved by: samm os2 kiev ua (maintainer) MFH: 2015Q2 Added: head/graphics/rawstudio/files/patch-plugins_load-dcraw_dcraw.cc (contents, props changed) Modified: head/graphics/rawstudio/Makefile Modified: head/graphics/rawstudio/Makefile ============================================================================== --- head/graphics/rawstudio/Makefile Sun May 31 08:08:16 2015 (r388050) +++ head/graphics/rawstudio/Makefile Sun May 31 09:14:02 2015 (r388051) @@ -3,7 +3,7 @@ PORTNAME= rawstudio PORTVERSION= 2.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= http://rawstudio.org/files/release/ Added: head/graphics/rawstudio/files/patch-plugins_load-dcraw_dcraw.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rawstudio/files/patch-plugins_load-dcraw_dcraw.cc Sun May 31 09:14:02 2015 (r388051) @@ -0,0 +1,12 @@ +--- plugins/load-dcraw/dcraw.cc.orig 2015-05-29 01:03:46 UTC ++++ plugins/load-dcraw/dcraw.cc +@@ -869,7 +869,8 @@ struct jhead { + + int CLASS ljpeg_start (struct jhead *jh, int info_only) + { +- int c, tag, len; ++ int c, tag; ++ ushort len; + uchar data[0x10000]; + const uchar *dp; +