]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: Don't allocate objects above UINT32_MAX in compact mode
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Nov 2021 14:37:55 +0000 (14:37 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Oct 2022 10:20:08 +0000 (12:20 +0200)
commitd06727aec2840dc3d6d1cb2b7032562eda8bf3b4
treec4dcd2ed8433cd3653fba9e6a59df489a7f0ca96
parentc92f1ebe5d0f6ffb0d3e9730aae662dbbfcea035
journal: Don't allocate objects above UINT32_MAX in compact mode

To allow storing offsets as 32-bit, we should never allocate objects
outside of the 32-bit range.
src/libsystemd/sd-journal/journal-file.c