[krbdev.mit.edu #9148] git commit

"Greg Hudson via RT" <[email protected]> Tue, 05 Nov 2024 11:35:08 -0500
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Tue Nov 05 11:35:08 2024: Request 9148 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9148 >



Fix krb5_ldap_list_policy() filtering loop

The loop at the end of this function is intended to ignore ticket
policy DNs that can't be converted to names.  But it instead leaves a
hole in the output list if that happens, effectively truncating the
list and leaking any subsequent entries.  Use the correct index for
the output list.

https://github.com/krb5/krb5/commit/0a23b0cd9466e8a7c6fb82fce185be6e0834ce26
Author: Greg Hudson <[email protected]>
Commit: 0a23b0cd9466e8a7c6fb82fce185be6e0834ce26
Branch: master
 src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)