diff options
author | miwi <miwi@FreeBSD.org> | 2009-07-13 15:41:52 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-07-13 15:41:52 +0800 |
commit | 89327e6521698e90161d5b0965b131593372e480 (patch) | |
tree | 899054bc95b3e3d3ea869fb9b1d91f5f62b1ebee /irc/ircd-ratbox-devel/files | |
parent | e90628f87fd7311bdd343307c59bc4791fe7b0cf (diff) | |
download | freebsd-ports-gnome-89327e6521698e90161d5b0965b131593372e480.tar.gz freebsd-ports-gnome-89327e6521698e90161d5b0965b131593372e480.tar.zst freebsd-ports-gnome-89327e6521698e90161d5b0965b131593372e480.zip |
- Add a temporary bugfix patch to correct an error where the
ssld process would die if more than one SSL connection was attempted.
PR: 136667
Submitted by: Moggie <moggie@elasticmind.net> (maintainer)
Diffstat (limited to 'irc/ircd-ratbox-devel/files')
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-libratbox_src_commio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/irc/ircd-ratbox-devel/files/patch-libratbox_src_commio.c b/irc/ircd-ratbox-devel/files/patch-libratbox_src_commio.c new file mode 100644 index 000000000000..d309a12f4804 --- /dev/null +++ b/irc/ircd-ratbox-devel/files/patch-libratbox_src_commio.c @@ -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++) + { |