| home | help | back | first | fref | pref | prev | next | nref | lref | last | post | 
From: ghudson@mit.edu
To: cvs-krb5@mit.edu
Message-Id: <20250108231344.8E064101CDE@krbdev.mit.edu>
Date: Wed,  8 Jan 2025 18:13:44 -0500 (EST)
MIME-Version: 1.0
Reply-To: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/993171ec45054f3120cb3d3433460ab0733e4e2f
commit 993171ec45054f3120cb3d3433460ab0733e4e2f
Author: Greg Hudson <ghudson@mit.edu>
Date:   Sun Dec 29 20:30:56 2024 -0500
    Work around Debian cyrus-sasl2 leak in t_kdb.py
    
    A Debian patch to cyrus-sasl2 causes a memory leak in the DIGEST-MD5
    plugin.  To avoid CI failures in the asan build, suppress leak
    detection during the DIGEST-MD5 tests for now.
 src/tests/t_kdb.py | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/src/tests/t_kdb.py b/src/tests/t_kdb.py
index 5211cbc7c..c1a717b99 100755
--- a/src/tests/t_kdb.py
+++ b/src/tests/t_kdb.py
@@ -591,6 +591,9 @@ dbmod['ldap_kdc_sasl_authcid'] = 'digestuser'
 dbmod['ldap_kadmind_sasl_authcid'] = 'digestuser'
 dbmod['ldap_service_password_file'] = ldap_pwfile
 realm = K5Realm(create_kdb=False, kdc_conf=conf)
+# Work around https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091694
+if runenv.asan == 'yes':
+    realm.env['ASAN_OPTIONS'] = 'detect_leaks=false'
 input = admin_pw + '\n' + admin_pw + '\n'
 realm.run([kdb5_ldap_util, 'stashsrvpw', 'digestuser'], input=input)
 realm.run([kdb5_ldap_util, 'create', '-s', '-P', 'master'])
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |