[krbdev.mit.edu #9053] git commit

"Greg Hudson via RT" <[email protected]> Mon, 07 Mar 2022 20:27:54 -0500
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Mon Mar 07 20:27:54 2022: Request 9053 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=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.

[[email protected]: 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 <[email protected]>
Committer: Greg Hudson <[email protected]>
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(-)