Repository: kudu
Updated Branches:
  refs/heads/master 895a4b766 -> 1bee345a1


sasl: add a leak suppression for krb5 1.10

This suppresses a known memory leak in krb5 < 1.12 in which a single
error message structure would be leaked in the case that GSSAPI had any
issues acquiring credentials. I bisected this issue against the krb5 git
repository and found the fix is in commit
379d39c17b8930718e98185a5b32a0f7f3e3b4b6 ("Fix a small memory leak in
util_errmap")

I chose to use the suppression file instead of a scoped leak suppression
object since it's still useful to catch any other leaks we might cause
in our use of SASL APIs.

Change-Id: Ied53bf43e98fd622026c00226eb38550bbbbdb38
Reviewed-on: http://gerrit.cloudera.org:8080/5101
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/1bee345a
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/1bee345a
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/1bee345a

Branch: refs/heads/master
Commit: 1bee345a14c84bc233312ee1515742b02535b4b9
Parents: 895a4b7
Author: Todd Lipcon <[email protected]>
Authored: Tue Nov 15 18:36:32 2016 -0800
Committer: Todd Lipcon <[email protected]>
Committed: Thu Nov 17 18:00:32 2016 +0000

----------------------------------------------------------------------
 build-support/lsan-suppressions.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/1bee345a/build-support/lsan-suppressions.txt
----------------------------------------------------------------------
diff --git a/build-support/lsan-suppressions.txt 
b/build-support/lsan-suppressions.txt
index 927afb3..dbf8dda 100644
--- a/build-support/lsan-suppressions.txt
+++ b/build-support/lsan-suppressions.txt
@@ -17,3 +17,7 @@
 
 # False positive from atexit() registration in libc
 leak:*__new_exitfn*
+
+# False positive from krb5 < 1.12
+# Fixed by upstream commit 379d39c17b8930718e98185a5b32a0f7f3e3b4b6
+leak:krb5_authdata_import_attributes

Reply via email to