diff options
author | christos <christos@pkgsrc.org> | 2003-10-06 16:31:07 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2003-10-06 16:31:07 +0000 |
commit | 716d8ae30980118906fdfd5be09605c368ca8377 (patch) | |
tree | 7e63e5dbeff7f7a1dee544274eb56c4a40d0a796 /security/cyrus-sasl2 | |
parent | 2aa7ec4d238f58ef794e6b3e76d4741dd36cffa9 (diff) | |
download | pkgsrc-716d8ae30980118906fdfd5be09605c368ca8377.tar.gz |
Fix uninitialized variable that caused core-dumps.
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/patches/patch-af | 16 |
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) { |