The branch, master has been updated
       via  b7bc1f6dddc s4-kdc: Fix memory leak in FAST cookie handling
      from  688604a423b smbd: Simplify non_widelink_open()

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b7bc1f6dddc1c5fee8a39422823f167db1f24bb2
Author: Andrew Bartlett <abart...@samba.org>
Date:   Tue Mar 8 22:46:02 2022 +1300

    s4-kdc: Fix memory leak in FAST cookie handling
    
    The call to sdb_free_entry() was forgotten.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15000
    
    Signed-off-by: Andrew Bartlett <abart...@samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <me...@samba.org>
    Autobuild-Date(master): Fri Mar 11 11:05:55 UTC 2022 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source4/kdc/hdb-samba4.c | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c
index b10cc37e608..5720dfadc1f 100644
--- a/source4/kdc/hdb-samba4.c
+++ b/source4/kdc/hdb-samba4.c
@@ -229,6 +229,7 @@ static krb5_error_code 
hdb_samba4_fetch_fast_cookie(krb5_context context,
        ret = sdb_entry_ex_to_hdb_entry_ex(context,
                                           &sdb_entry_ex,
                                           entry_ex);
+       sdb_free_entry(&sdb_entry_ex);
        TALLOC_FREE(mem_ctx);
 
        return ret;


-- 
Samba Shared Repository

Reply via email to