diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2010-03-11 07:49:46 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2010-03-11 07:49:46 +0000 |
commit | 74ce33548fe8a7472b1fdcd0c1b78e43958f6043 (patch) | |
tree | a9be6c6eb718c813c2f4801e81d6d7a71d2efede /security/heimdal | |
parent | 16be93eb0af1173b83023d799b6c1834637ca1b0 (diff) | |
download | ports-74ce33548fe8a7472b1fdcd0c1b78e43958f6043.tar.gz ports-74ce33548fe8a7472b1fdcd0c1b78e43958f6043.zip |
Use CMGROUP_MAX instead of NGROUPS and the argument to SOCKCREDSIZE().
This is a NO-OP except on 8/9 where it is a bugfix.
Notes
Notes:
svn path=/head/; revision=250884
Diffstat (limited to 'security/heimdal')
-rw-r--r-- | security/heimdal/Makefile | 2 | ||||
-rw-r--r-- | security/heimdal/files/patch-kcm_connect.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 094938c5594f..b2e8ad12af5a 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -7,7 +7,7 @@ PORTNAME= heimdal PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security ipv6 MASTER_SITES= http://ftp.pdc.kth.se/pub/heimdal/src/ \ ftp://ftp.pdc.kth.se/pub/heimdal/src/ \ diff --git a/security/heimdal/files/patch-kcm_connect.c b/security/heimdal/files/patch-kcm_connect.c new file mode 100644 index 000000000000..88e3462bbeb3 --- /dev/null +++ b/security/heimdal/files/patch-kcm_connect.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- kcm/connect.c.orig ++++ kcm/connect.c +@@ -149,7 +149,7 @@ + struct sockcred *sc; + + memset(&msg, 0, sizeof(msg)); +- crmsgsize = CMSG_SPACE(SOCKCREDSIZE(NGROUPS)); ++ crmsgsize = CMSG_SPACE(SOCKCREDSIZE(CMGROUP_MAX)); + if (crmsgsize == 0) + return 1 ; + |