mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 13:24:20 +00:00
* fix(packages): report the declared ZIP entry total in entry-count refusals inspect_vsix_package and inspect_nuget_nupkg reported the stopping counter (max_entries + 1) as the requirement, so retrying with it failed one entry later each time. The end-of-central-directory record declares the total before enumeration; zipDirectoryRecords now carries that total with each record, and the VSIX, NuGet and artifact ZIP readers report it as the requirement (artifact_limits.zip.member_count now reports required_value). inspect_pe_imports said the image "declares" max + 1 descriptors or functions. Those tables are null-terminated and declare no total, so the refusal now says the count is above the allowance and leaves the total unknown. Refs #15608 * test(zip): cover the ZIP64 entry total in member-count refusals