[krbdev.mit.edu #7839] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jun 26 16:06:35 EDT 2014


Reinitialize ulog when wrapping serial number

When we wrap the serial number, reinitialize the ulog so that kdb_num
starts counting from 1, instead of leaving the ulog in a weird state
where kdb_num == ulogentries but kdb_last_sno == 1 and the serial
numbers in the circular array aren't necessarily contiguous.

(cherry picked from commit 3c147860df11d8ef24dabf07d32f36915f3b640c)

https://github.com/krb5/krb5/commit/fb5b9d2359f9820fd2c6f08a50472a921d9ca8de
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: fb5b9d2359f9820fd2c6f08a50472a921d9ca8de
Branch: krb5-1.12
 src/lib/kdb/kdb_log.c |   21 ++++++++-------------
 1 files changed, 8 insertions(+), 13 deletions(-)



More information about the krb5-bugs mailing list