[krbdev.mit.edu #9161] git commit

"Greg Hudson via RT" <[email protected]> Thu, 06 Feb 2025 18:43:47 -0500
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Thu Feb 06 18:43:47 2025: Request 9161 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=9161 >



Improve ulog block resize efficiency

When it is necessary to increase the ulog block size, copy the
existing entries instead of reinitializing the log.

[[email protected]: added test case; renamed and split INDEX() to avoid
duplication; added sync_ulog() helper; modified copying loop for
clarity; edited commit message]

https://github.com/krb5/krb5/commit/197ddd4196a3049cd17d29d1c8f0af1424472956
Author: Zoltan Borbely <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 197ddd4196a3049cd17d29d1c8f0af1424472956
Branch: master
 src/include/kdb_log.h | 20 ++++++++++-----
 src/kprop/kproplog.c  |  2 +-
 src/lib/kdb/kdb_log.c | 68 +++++++++++++++++++++++++++++++++++----------------
 src/tests/t_iprop.py  | 30 +++++++++++++++++++++--
 4 files changed, 90 insertions(+), 30 deletions(-)