Index: files/patch-htp__htp_util.c =================================================================== --- files/patch-htp__htp_util.c (revision 0) +++ files/patch-htp__htp_util.c (working copy) @@ -0,0 +1,22 @@ +--- ./htp/htp_util.c.orig 2012-10-09 18:53:48.000000000 -0400 ++++ ./htp/htp_util.c 2012-10-09 18:54:31.000000000 -0400 +@@ -2099,7 +2099,8 @@ + len += bstr_len(hl->line); + } + +- len += bstr_len(tx->request_headers_sep); ++ if (tx->request_headers_sep) ++ len += bstr_len(tx->request_headers_sep); + + request_headers_raw = bstr_alloc(len); + if (request_headers_raw == NULL) { +@@ -2112,7 +2113,8 @@ + bstr_add_noex(request_headers_raw, hl->line); + } + +- bstr_add_noex(request_headers_raw, tx->request_headers_sep); ++ if (tx->request_headers_sep) ++ bstr_add_noex(request_headers_raw, tx->request_headers_sep); + + return request_headers_raw; + } Property changes on: files/patch-htp__htp_util.c ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property 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 Index: Makefile =================================================================== --- Makefile (revision 303730) +++ Makefile (working copy) @@ -7,7 +7,7 @@ PORTNAME= libhtp PORTVERSION= 0.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel #MASTER_SITES= # This port uses github