diff options
author | Cy Schubert <cy@FreeBSD.org> | 2005-07-12 21:29:26 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2005-07-12 21:29:26 +0000 |
commit | 4871e2a3be509fae5d98dbf7fb5f4e3c62ac7218 (patch) | |
tree | 96fc43c601de12278b70ba15e989721c3202031c /security/krb5-16 | |
parent | 634e33d949b0bc8a1d75f9f6f9ea611fb708959d (diff) | |
download | ports-4871e2a3be509fae5d98dbf7fb5f4e3c62ac7218.tar.gz ports-4871e2a3be509fae5d98dbf7fb5f4e3c62ac7218.zip |
Notes
Diffstat (limited to 'security/krb5-16')
-rw-r--r-- | security/krb5-16/Makefile | 1 | ||||
-rw-r--r-- | security/krb5-16/files/patch-lib::krb5::krb::recvauth.c | 18 | ||||
-rw-r--r-- | security/krb5-16/files/patch-lib::krb5::krb::unparse.c | 11 |
3 files changed, 30 insertions, 0 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index 2f3689386901..581804858851 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/Makefile @@ -7,6 +7,7 @@ PORTNAME= krb5 PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/\.[0-9]*$/&/:C/\.[0-9]*$//}/ EXTRACT_SUFX= .tar diff --git a/security/krb5-16/files/patch-lib::krb5::krb::recvauth.c b/security/krb5-16/files/patch-lib::krb5::krb::recvauth.c new file mode 100644 index 000000000000..e30b725ee133 --- /dev/null +++ b/security/krb5-16/files/patch-lib::krb5::krb::recvauth.c @@ -0,0 +1,18 @@ +--- lib/krb5/krb/recvauth.c.orig Mon Sep 2 18:13:47 2002 ++++ lib/krb5/krb/recvauth.c Tue Jul 12 14:02:03 2005 +@@ -76,7 +76,6 @@ + if ((retval = krb5_read_message(context, fd, &inbuf))) + return(retval); + if (strcmp(inbuf.data, sendauth_version)) { +- krb5_xfree(inbuf.data); + problem = KRB5_SENDAUTH_BADAUTHVERS; + } + krb5_xfree(inbuf.data); +@@ -90,7 +89,6 @@ + if ((retval = krb5_read_message(context, fd, &inbuf))) + return(retval); + if (appl_version && strcmp(inbuf.data, appl_version)) { +- krb5_xfree(inbuf.data); + if (!problem) + problem = KRB5_SENDAUTH_BADAPPLVERS; + } diff --git a/security/krb5-16/files/patch-lib::krb5::krb::unparse.c b/security/krb5-16/files/patch-lib::krb5::krb::unparse.c new file mode 100644 index 000000000000..b45233b0ab78 --- /dev/null +++ b/security/krb5-16/files/patch-lib::krb5::krb::unparse.c @@ -0,0 +1,11 @@ +--- lib/krb5/krb/unparse.c.orig Tue Jan 18 09:57:32 2005 ++++ lib/krb5/krb/unparse.c Tue Jul 12 14:04:38 2005 +@@ -91,6 +91,8 @@ + totalsize++; + totalsize++; /* This is for the separator */ + } ++ if (nelem == 0) ++ totalsize++; + + /* + * Allocate space for the ascii string; if space has been |