Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix leak in kadm5_flush with LDAP KDB

Due to an inverted test in adb_policy_init, kadm5_flush calls
krb5_db_open twice. With the DB2 KDB module, the second open is a
no-op, but with the LDAP module, a new DB handle is allocated and the
old one is leaked.

[ghudson@mit.edu: rewrote commit message]

https://github.com/krb5/krb5/commit/372e4cb6f5d4a603e6e3157c7b5d354953836136
Author: Tomas Kuthan <tkuthan@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 372e4cb6f5d4a603e6e3157c7b5d354953836136
Branch: master
src/lib/kadm5/srv/server_misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Fix leak in kadm5_flush with LDAP KDB

Due to an inverted test in adb_policy_init, kadm5_flush calls
krb5_db_open twice. With the DB2 KDB module, the second open is a
no-op, but with the LDAP module, a new DB handle is allocated and the
old one is leaked.

[ghudson@mit.edu: rewrote commit message]

(cherry picked from commit 372e4cb6f5d4a603e6e3157c7b5d354953836136)

https://github.com/krb5/krb5/commit/6d40fada387dc7b43948246cda030d0d1eeed3c7
Author: Tomas Kuthan <tkuthan@gmail.com>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 6d40fada387dc7b43948246cda030d0d1eeed3c7
Branch: krb5-1.12
src/lib/kadm5/srv/server_misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)