]> git.ipfire.org Git - thirdparty/krb5.git/commit
Make kprop work for dump files larger than 4GB 1239/head
authorJulien Rische <jrische@redhat.com>
Wed, 19 Jan 2022 18:46:08 +0000 (19:46 +0100)
committerGreg Hudson <ghudson@mit.edu>
Tue, 8 Mar 2022 01:08:34 +0000 (20:08 -0500)
commit2188041b98304fa8579006a9aaeb258945f1a0d5
treeebe9c783aa4726abe13ea4dd7e3fc87b448f5ca7
parent922592d3f57c831a2d539ff9b643953b56e6c515
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@mit.edu: edited comments and commit message; eliminated use
of defined constant in some cases; added test case]

ticket: 9053 (new)
src/kprop/kprop.c
src/kprop/kprop.h
src/kprop/kprop_util.c
src/kprop/kpropd.c
src/tests/t_kprop.py