- Update to 3.0.6

PR:		143241
Submitted by:	moggie <moggie@elasticmind.net> (maintainer)
With hat:	secteam
Security:	http://www.vuxml.org/freebsd/192609c8-0c51-11df-82a0-00248c9b4be7.html
This commit is contained in:
Martin Wilke 2010-01-28 21:27:34 +00:00
parent 597d70d77d
commit 8991ac7f14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248767
3 changed files with 4 additions and 16 deletions

View file

@ -7,8 +7,7 @@
# ex: ts=8
PORTNAME= ircd-ratbox
PORTVERSION= 3.0.4
PORTREVISION= 2
PORTVERSION= 3.0.6
CATEGORIES= irc ipv6
MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/testing/ \
ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/testing/ \

View file

@ -1,3 +1,3 @@
MD5 (ircd-ratbox-3.0.4.tar.bz2) = 6e2377a3bb9c016a1a15b0bb2965f6e1
SHA256 (ircd-ratbox-3.0.4.tar.bz2) = e45444b5e8956faf1f43e509844fba7da539b4f97422c34d0d97345a4745e385
SIZE (ircd-ratbox-3.0.4.tar.bz2) = 1979817
MD5 (ircd-ratbox-3.0.6.tar.bz2) = 31f4fae4211144188b4b982d6e7d3465
SHA256 (ircd-ratbox-3.0.6.tar.bz2) = 3acef6a692678d287033c9c7ba3e8d2f4c163d044f3b9859628e55041cb54b74
SIZE (ircd-ratbox-3.0.6.tar.bz2) = 1977354

View file

@ -1,11 +0,0 @@
--- ./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++)
{