Index: head/net/libosip2/Makefile =================================================================== --- head/net/libosip2/Makefile (revision 455238) +++ head/net/libosip2/Makefile (revision 455239) @@ -1,22 +1,23 @@ # $FreeBSD$ PORTNAME= libosip2 PORTVERSION= 5.0.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GNU/osip MAINTAINER= bofh@FreeBSD.org COMMENT= Low layer of SIP implementation LICENSE= LGPL21 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug --disable-trace INSTALL_TARGET= install-strip USES= libtool pathfix pkgconfig USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e "/^SUBDIRS/s| help | |g" ${WRKSRC}/Makefile.in .include Index: head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c =================================================================== --- head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c (nonexistent) +++ head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c (revision 455239) @@ -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. */ Property changes on: head/net/libosip2/files/patch-src_osipparser2_osip__message__parse.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property