summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos>2003-10-06 16:31:07 +0000
committerchristos <christos>2003-10-06 16:31:07 +0000
commit79c6417b417a2f779b079d07ff669cd58e9e25cf (patch)
tree7e63e5dbeff7f7a1dee544274eb56c4a40d0a796
parentac7954bd3e7bf2ea52b512d7153fa90776a8e2e3 (diff)
downloadpkgsrc-79c6417b417a2f779b079d07ff669cd58e9e25cf.tar.gz
Fix uninitialized variable that caused core-dumps.
-rw-r--r--security/cyrus-sasl2/patches/patch-af16
1 files changed, 13 insertions, 3 deletions
diff --git a/security/cyrus-sasl2/patches/patch-af b/security/cyrus-sasl2/patches/patch-af
index fdc09450f3b..cc2f48c884b 100644
--- a/security/cyrus-sasl2/patches/patch-af
+++ b/security/cyrus-sasl2/patches/patch-af
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.2 2003/05/26 06:53:09 martti Exp $
+$NetBSD: patch-af,v 1.3 2003/10/06 16:31:07 christos Exp $
---- plugins/cram.c.orig 2003-02-18 20:27:37.000000000 +0200
-+++ plugins/cram.c 2003-05-21 09:11:53.000000000 +0300
+--- plugins/cram.c.orig 2003-02-18 13:27:37.000000000 -0500
++++ plugins/cram.c 2003-10-06 12:09:33.000000000 -0400
@@ -230,7 +230,7 @@
HMAC_MD5_STATE md5state;
int clear_md5state = 0;
@@ -11,3 +11,13 @@ $NetBSD: patch-af,v 1.2 2003/05/26 06:53:09 martti Exp $
/* extract userid; everything before last space */
pos = clientinlen-1;
+@@ -544,7 +544,8 @@
+
+ if ((auth_result != SASL_OK) && (auth_result != SASL_INTERACT))
+ return auth_result;
+- }
++ } else
++ authid = oparams->authid;
+
+ /* try to get the password */
+ if (password == NULL) {