static-delta: Account for the full part payload consistently
authorColin Walters <walters@verbum.org>
Fri, 31 Jul 2026 18:18:38 +0000 (14:18 -0400)
committerColin Walters <walters@verbum.org>
Fri, 31 Jul 2026 20:52:39 +0000 (16:52 -0400)
commite2af53421b5e6acf54af7feb342fcf1da3d6319e
tree4bfb426dddbbd7c9a44c83da1d3c917fe27e24e5
parent883cd757e81d2b2690e8f7ccc0d91cc31144d1e6
static-delta: Account for the full part payload consistently

The previous commit adding a limit here didn't account
correctly for metadata overhead; in trying to do it as a private
security fix we didn't run all of the tests, which was a procedural
mistake.

Assisted-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
src/libostree/ostree-repo-finder-mount.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-static-delta-compilation.c
src/libostree/ostree-repo-static-delta-core.c
src/libostree/ostree-repo-static-delta-private.h
src/libostree/ostree-repo-static-delta-processing.c
src/libotutil/ot-fs-utils.c
tests/test-bsdiff.c