From owner-svn-ports-head@freebsd.org Fri Dec 1 00:02:48 2017 Return-Path: Delivered-To: svn-ports-head@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 CF398DED5A4; Fri, 1 Dec 2017 00:02:48 +0000 (UTC) (envelope-from jkim@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 9C6577C308; Fri, 1 Dec 2017 00:02:48 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB102laI011582; Fri, 1 Dec 2017 00:02:47 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB102lG6011580; Fri, 1 Dec 2017 00:02:47 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201712010002.vB102lG6011580@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Fri, 1 Dec 2017 00:02:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455239 - in head/net/libosip2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jkim X-SVN-Commit-Paths: in head/net/libosip2: . files X-SVN-Commit-Revision: 455239 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 00:02:48 -0000 Author: jkim Date: Fri Dec 1 00:02:47 2017 New Revision: 455239 URL: https://svnweb.freebsd.org/changeset/ports/455239 Log: Add an upstream patch to fix security vulnerability. PR: 223574 Approved by: bofh (maintainer timeout, 3 weeks) MFH: 2017Q4 Security: CVE-2017-7853 Added: head/net/libosip2/files/ head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c (contents, props changed) Modified: head/net/libosip2/Makefile Modified: head/net/libosip2/Makefile ============================================================================== --- head/net/libosip2/Makefile Thu Nov 30 23:53:42 2017 (r455238) +++ head/net/libosip2/Makefile Fri Dec 1 00:02:47 2017 (r455239) @@ -2,6 +2,7 @@ PORTNAME= libosip2 PORTVERSION= 5.0.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GNU/osip Added: head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c Fri Dec 1 00:02:47 2017 (r455239) @@ -0,0 +1,15 @@ +--- src/osipparser2/osip_message_parse.c.orig 2016-09-05 14:19:31 UTC ++++ src/osipparser2/osip_message_parse.c +@@ -784,6 +784,12 @@ msg_osip_body_parse (osip_message_t * sip, const char + if ('\n' == start_of_body[0] || '\r' == start_of_body[0]) + start_of_body++; + ++ /* if message body is empty or contains a single CR/LF */ ++ if (end_of_body <= start_of_body) { ++ osip_free (sep_boundary); ++ return OSIP_SYNTAXERROR; ++ } ++ + body_len = end_of_body - start_of_body; + + /* Skip CR before end boundary. */