Files
reverse-engineering-anything/src/oci
morluto 4c3159568c fix(limits): report a limit requirement only when the reader knows it (#15685)
* fix(limits): report a limit requirement only when the reader knows it

OCI image layouts, SWF movies, Zstandard frame walks, LZMA streams without
a declared size, XAR TOCs, cpio archives and VSIX/NuGet metadata members
stopped at the first excess and reported that stopping counter or running
sum as the requirement. Raising the limit to it failed again one step later.

None of those inputs declares a total before the stop, so the refusal now
leaves the requirement unknown. A declared size or count (ZIP member sizes,
the ZIP entry total, SWF FileLength, an LZMA declared size) is still
reported, and VSIX/NuGet now pass every such requirement as required_value
instead of only those above the control's maximum.

Fixes #15647

* test(oci): assert descriptor limits report no requirement
2026-12-02 00:01:47 +00:00
..