From owner-svn-ports-all@freebsd.org Mon Nov 16 18:38:58 2015 Return-Path: Delivered-To: svn-ports-all@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 3D708A30448; Mon, 16 Nov 2015 18:38:58 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 04DFB153B; Mon, 16 Nov 2015 18:38:57 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAGIcv0V085039; Mon, 16 Nov 2015 18:38:57 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAGIcv4W085038; Mon, 16 Nov 2015 18:38:57 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201511161838.tAGIcv4W085038@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Mon, 16 Nov 2015 18:38:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401780 - head/print/a2ps/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: Mon, 16 Nov 2015 18:38:58 -0000 Author: dinoex Date: Mon Nov 16 18:38:56 2015 New Revision: 401780 URL: https://svnweb.freebsd.org/changeset/ports/401780 Log: - fix for malicious crafted a2ps prologue files Security: CVE-2015-8107 Security: http://www.openwall.com/lists/oss-security/2015/11/16/4 Submitted by: feld Obtained from: http://www.openwall.com/ Added: head/print/a2ps/files/patch-output.c (contents, props changed) Added: head/print/a2ps/files/patch-output.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/a2ps/files/patch-output.c Mon Nov 16 18:38:56 2015 (r401780) @@ -0,0 +1,13 @@ +Fix for CVE-2015-8107 +http://www.openwall.com/lists/oss-security/2015/11/16/4 +--- lib/output.c.orig 2015-11-16 15:29:38 UTC ++++ lib/output.c +@@ -525,7 +525,7 @@ output_file (struct output * out, a2ps_j + expand_user_string (job, FIRST_FILE (job), + (const uchar *) "Expand: requirement", + (const uchar *) token)); +- output (dest, expansion); ++ output (dest, "%s", expansion); + continue; + } +