Date: Sat, 11 Jul 2009 19:54:26 +0100 (BST) From: Moggie <moggie@elasticmind.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/136667: [maintainer-update|patch] irc/ircd-ratbox-devel: amd64 bugfix patch Message-ID: <20090711185426.6961126D206@mail.elasticmind.net> Resent-Message-ID: <200907111910.n6BJA1p2096151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136667 >Category: ports >Synopsis: [maintainer-update|patch] irc/ircd-ratbox-devel: amd64 bugfix patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 11 19:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Moggie >Release: FreeBSD 6.4-RELEASE-p5 amd64 >Organization: >Environment: System: FreeBSD 6.4-RELEASE-p5 FreeBSD 6.4-RELEASE-p5 #1: Wed Jun 10 20:44:30 BST 2009 amd64 Tested on FreeBSD 7.2 amd64 >Description: Add a temporary bugfix patch to correct an error where the ssld process would die if more than one SSL connection was attempted. >How-To-Repeat: >Fix: --- ircd-ratbox-devel-3.0.4_2.diff begins here --- diff -ruN ircd-ratbox-devel.orig/Makefile ircd-ratbox-devel/Makefile --- ircd-ratbox-devel.orig/Makefile 2009-07-11 18:35:06.000000000 +0100 +++ ircd-ratbox-devel/Makefile 2009-07-11 18:41:00.000000000 +0100 @@ -8,7 +8,7 @@ PORTNAME= ircd-ratbox PORTVERSION= 3.0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc ipv6 MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/testing/ \ ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/testing/ \ diff -ruN ircd-ratbox-devel.orig/files/patch-libratbox_src_commio.c ircd-ratbox-devel/files/patch-libratbox_src_commio.c --- ircd-ratbox-devel.orig/files/patch-libratbox_src_commio.c 1970-01-01 01:00:00.000000000 +0100 +++ ircd-ratbox-devel/files/patch-libratbox_src_commio.c 2009-07-11 18:38:04.000000000 +0100 @@ -0,0 +1,11 @@ +--- ./libratbox/src/commio.c.orig 2009-07-11 18:37:37.000000000 +0100 ++++ ./libratbox/src/commio.c 2009-07-11 18:37:55.000000000 +0100 +@@ -2156,7 +2156,7 @@ + if(msg.msg_controllen > 0 && msg.msg_control != NULL + && (cmsg = CMSG_FIRSTHDR(&msg)) != NULL) + { +- rfds = (msg.msg_controllen - sizeof(struct cmsghdr)) / sizeof(int); ++ rfds = ((unsigned char *)cmsg + cmsg->cmsg_len - CMSG_DATA(cmsg)) / sizeof(int); + + for(x = 0; x < nfds && x < rfds; x++) + { --- ircd-ratbox-devel-3.0.4_2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090711185426.6961126D206>