[krbdev.mit.edu #9053] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Mar 7 20:27:54 EST 2022


Mon Mar 07 20:27:54 2022: Request 9053 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9053 >



Make kprop work for dump files larger than 4GB

If the dump file size does not fit in 32 bits, encode four zero bytes
(forcing an error for unmodified kpropd) followed by the size in the
next 64 bits.

Add a functional test case, but only run it when an environment
variable is set, as processing a 4GB dump file is too
resource-intensive for make check.

[ghudson at mit.edu: edited comments and commit message; eliminated use
of defined constant in some cases; added test case]

https://github.com/krb5/krb5/commit/2188041b98304fa8579006a9aaeb258945f1a0d5
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 2188041b98304fa8579006a9aaeb258945f1a0d5
Branch: master
 src/kprop/kprop.c      |   37 +++++++++++++++++++++----------------
 src/kprop/kprop.h      |   12 ++++++++++++
 src/kprop/kprop_util.c |   42 ++++++++++++++++++++++++++++++++++++++++++
 src/kprop/kpropd.c     |   33 +++++++++++++++++++++------------
 src/tests/t_kprop.py   |   34 ++++++++++++++++++++++++++++++++++
 5 files changed, 130 insertions(+), 28 deletions(-)



More information about the krb5-bugs mailing list