ports/98449: [Maintainer] www/squid: fix assertion failure in HttpReply.c
Thomas-Martin Seck
tmseck at netcologne.de
Sat Jun 3 16:30:20 UTC 2006
>Number: 98449
>Category: ports
>Synopsis: [Maintainer] www/squid: fix assertion failure in HttpReply.c
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 03 16:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Thomas-Martin Seck
>Release: FreeBSD 6.1-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of June 3, 2006.
>Description:
- Integrate a vendor patch published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/> to fix an "assertion
failed: HttpReply.c:105: rep" error (squid bug #1606).
- Update the customlog patchset accordingly.
- Bump PORTREVISION.
>How-To-Repeat:
>Fix:
Apply this patch:
Index: distinfo
===================================================================
--- distinfo (revision 876)
+++ distinfo (revision 877)
@@ -1,3 +1,6 @@
MD5 (squid2.5/squid-2.5.STABLE14.tar.bz2) = f413e0b887a5f9b2a75350243ed5564c
SHA256 (squid2.5/squid-2.5.STABLE14.tar.bz2) = c4eaee0e5ee42f46060217df9a88d628d244c0a543feab8296e44269e57ec7bd
SIZE (squid2.5/squid-2.5.STABLE14.tar.bz2) = 1073745
+MD5 (squid2.5/squid-2.5.STABLE14-httpReplyDestroy.patch) = 1529f8b0170e24b26353578778435bd4
+SHA256 (squid2.5/squid-2.5.STABLE14-httpReplyDestroy.patch) = 9e99132b8efb07e3465d5e33749aa450daecfa3acde73755b6a3589d09d19285
+SIZE (squid2.5/squid-2.5.STABLE14-httpReplyDestroy.patch) = 1277
Index: files/customlog-2.5.patch
===================================================================
--- files/customlog-2.5.patch (revision 876)
+++ files/customlog-2.5.patch (revision 877)
@@ -1289,24 +1289,6 @@
safe_free(http->redirect.location);
stringClean(&http->range_iter.boundary);
if ((e = http->entry)) {
-@@ -2031,8 +2041,6 @@
- http->entry = clientCreateStoreEntry(http, http->request->method,
- null_request_flags);
- errorAppendEntry(http->entry, err);
-- httpReplyDestroy(http->reply);
-- http->reply = NULL;
- memFree(buf, MEM_CLIENT_SOCK_BUF);
- return;
- }
-@@ -2067,8 +2075,6 @@
- http->entry = clientCreateStoreEntry(http, http->request->method,
- null_request_flags);
- errorAppendEntry(http->entry, err);
-- httpReplyDestroy(http->reply);
-- http->reply = NULL;
- memFree(buf, MEM_CLIENT_SOCK_BUF);
- return;
- }
Index: src/icp_v2.c
diff -u src/icp_v2.c:1.5 src/icp_v2.c:1.5.60.1
--- src/icp_v2.c:1.5 Fri May 4 06:39:12 2001
Index: Makefile
===================================================================
--- Makefile (revision 876)
+++ Makefile (revision 877)
@@ -73,6 +73,7 @@
PORTNAME= squid
PORTVERSION= 2.5.14
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= \
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
@@ -89,7 +90,7 @@
DIST_SUBDIR= squid2.5
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES= squid-2.5.STABLE14-httpReplyDestroy.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= tmseck at netcologne.de
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list