summaryrefslogtreecommitdiff
path: root/security/heimdal/patches
diff options
context:
space:
mode:
authorjoda <joda@pkgsrc.org>2004-04-01 18:42:25 +0000
committerjoda <joda@pkgsrc.org>2004-04-01 18:42:25 +0000
commit573dcd9afeb72a60bc939cd100831a00094f70bc (patch)
tree1f977e91ba90d684f174d2a4541fae6709ac8dff /security/heimdal/patches
parentb0eee50e43ede4d9a25e22c6d43cf89925046c17 (diff)
downloadpkgsrc-573dcd9afeb72a60bc939cd100831a00094f70bc.tar.gz
Update to 0.6.1:
* Fixed cross realm vulnerability * Fixed ARCFOUR suppport * kdc: fix denial of service attack * kdc: stop clients from renewing tickets into the future * bug fixes
Diffstat (limited to 'security/heimdal/patches')
-rw-r--r--security/heimdal/patches/patch-aa19
-rw-r--r--security/heimdal/patches/patch-ae15
-rw-r--r--security/heimdal/patches/patch-af37
-rw-r--r--security/heimdal/patches/patch-ag16
4 files changed, 0 insertions, 87 deletions
diff --git a/security/heimdal/patches/patch-aa b/security/heimdal/patches/patch-aa
deleted file mode 100644
index 4c1e5c7b35b..00000000000
--- a/security/heimdal/patches/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/01/10 14:56:45 jlam Exp $
-
---- appl/ftp/ftp/gssapi.c.orig Sun Mar 16 14:40:18 2003
-+++ appl/ftp/ftp/gssapi.c
-@@ -228,12 +228,13 @@ gss_adat(void *app_data, void *buf, size
- gss_release_buffer(&min_stat, &export_name);
- goto out;
- }
-- name = realloc(export_name.value, export_name.length + 1);
-+ name = malloc(export_name.length + 1);
- if(name == NULL) {
- reply(500, "Out of memory");
- gss_release_buffer(&min_stat, &export_name);
- goto out;
- }
-+ memcpy(name, export_name.value, export_name.length);
- name[export_name.length] = '\0';
- gss_release_buffer(&min_stat, &export_name);
- d->client_name = name;
diff --git a/security/heimdal/patches/patch-ae b/security/heimdal/patches/patch-ae
deleted file mode 100644
index 9b78e9757fb..00000000000
--- a/security/heimdal/patches/patch-ae
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2004/01/13 02:05:29 markd Exp $
-
---- lib/krb5/verify_krb5_conf.c.orig 2003-03-29 21:52:50.000000000 +1200
-+++ lib/krb5/verify_krb5_conf.c
-@@ -449,8 +449,8 @@ struct entry log_strings[] = {
-
- #if 0
- struct entry kdcdefaults_entries[] = {
-- { "kdc_ports, krb5_config_string, mit_entry },
-- { "v4_mode, krb5_config_string, mit_entry },
-+ { "kdc_ports", krb5_config_string, mit_entry },
-+ { "v4_mode", krb5_config_string, mit_entry },
- { NULL }
- };
- #endif
diff --git a/security/heimdal/patches/patch-af b/security/heimdal/patches/patch-af
deleted file mode 100644
index 0746db4c673..00000000000
--- a/security/heimdal/patches/patch-af
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/02/22 11:59:50 markd Exp $
-
---- lib/hdb/db3.c.orig 2001-08-09 20:41:48.000000000 +1200
-+++ lib/hdb/db3.c
-@@ -37,7 +37,13 @@ RCSID("$Id: db3.c,v 1.8 2001/08/09 08:41
-
- #if HAVE_DB3
-
-+#if defined(HAVE_DB4_DB_H)
-+#include <db4/db.h>
-+#elif defined(HAVE_DB3_DB_H)
-+#include <db3/db.h>
-+#else
- #include <db.h>
-+#endif
-
- static krb5_error_code
- DB_close(krb5_context context, HDB *db)
-@@ -262,10 +268,18 @@ DB_open(krb5_context context, HDB *db, i
- }
- db_create(&d, NULL, 0);
- db->db = d;
-+#if defined(HAVE_DB4_DB_H)
-+ if ((ret = d->open(db->db, NULL, fn, NULL, DB_BTREE, myflags, mode))) {
-+#else
- if ((ret = d->open(db->db, fn, NULL, DB_BTREE, myflags, mode))) {
-+#endif
- if(ret == ENOENT)
- /* try to open without .db extension */
-+#if defined(HAVE_DB4_DB_H)
-+ if (d->open(db->db, NULL, db->name, NULL, DB_BTREE, myflags, mode)) {
-+#else
- if (d->open(db->db, db->name, NULL, DB_BTREE, myflags, mode)) {
-+#endif
- free(fn);
- krb5_set_error_string(context, "opening %s: %s",
- db->name, strerror(ret));
diff --git a/security/heimdal/patches/patch-ag b/security/heimdal/patches/patch-ag
deleted file mode 100644
index a7f0b6e5b28..00000000000
--- a/security/heimdal/patches/patch-ag
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2004/02/22 11:59:50 markd Exp $
-
---- lib/roken/ndbm_wrap.c.orig 2002-05-01 04:37:08.000000000 +1200
-+++ lib/roken/ndbm_wrap.c
-@@ -165,7 +165,11 @@ dbm_open (const char *file, int flags, m
- free(fn);
- return NULL;
- }
-+#if defined(HAVE_DB4_DB_H)
-+ if(db->open(db, NULL, fn, NULL, DB_BTREE, myflags, mode) != 0) {
-+#else
- if(db->open(db, fn, NULL, DB_BTREE, myflags, mode) != 0) {
-+#endif
- free(fn);
- db->close(db, 0);
- return NULL;