-
Notifications
You must be signed in to change notification settings - Fork 699
fix: minizip-ng - remove flagged files #18625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Tobias Brick (tobiasb-ms)
merged 1 commit into
4.0
from
anphel/fix-minizip-ng-flagged-files
Aug 31, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| [components.minizip-ng] | ||
|
|
||
| # Remove the two password-protected (encrypted) libFuzzer seed-corpus zips that | ||
| # fail the package-signing scan. The archive is repacked; the resulting hash is | ||
| # pinned via the source-files entry. | ||
| [[components.minizip-ng.overlays]] | ||
| description = "Remove encrypted fuzz seed-corpus zips" | ||
| type = "file-remove" | ||
| archive = "minizip-ng-4.0.10.tar.gz" | ||
| file = "test/fuzz/unzip_fuzzer_seed_corpus/encrypted_*.zip" | ||
| [components.minizip-ng.overlays.metadata] | ||
| category = "azl-security-compliance" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| # Drop the two CTest cases that read the removed fixtures. The spec has no %check | ||
| # so nothing runs them, but this keeps the test registration consistent. | ||
| [[components.minizip-ng.overlays]] | ||
| description = "Drop CTest cases that read the removed encrypted fuzz zips" | ||
| type = "file-search-replace" | ||
| archive = "minizip-ng-4.0.10.tar.gz" | ||
| file = "CMakeLists.txt" | ||
| regex = '(?s)\n +if\(MZ_PKCRYPT\)\n +add_test\(NAME unzip-pkcrypt.*?add_test\(NAME unzip-wzaes.*?\n +endif\(\)' | ||
| [components.minizip-ng.overlays.metadata] | ||
| category = "azl-security-compliance" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| # Pin the post-overlay (repacked) tarball, replacing the upstream sources entry. | ||
| [[components.minizip-ng.source-files]] | ||
| filename = "minizip-ng-4.0.10.tar.gz" | ||
| hash = "9cb38550aec5f7983d8f3afd7ed376a05c9d0d4347507f8aea426d75da2d5d90555a671da9dbdd7982d3916f0371b4cb1cb647ed2a641e8256202cd8d4737fd7" | ||
| hash-type = "SHA512" | ||
| origin = { type = "overlay" } | ||
| replace-upstream = true | ||
| replace-reason = "Removes test/fuzz/unzip_fuzzer_seed_corpus/encrypted_{pkcrypt,wzaes}.zip (password-protected fuzz seed-corpus fixtures) that fail the package-signing scan, and the two CTest cases that read them; test-only, not shipped in any binary RPM." | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| SHA512 (minizip-ng-4.0.10.tar.gz) = a74386e2cf89f63d7fc9bf53527c8203ac78c46f2511e4883d17d949ec4e7d1b6c3707bcb13c3fc7cc4db8255b5f50ddb61bedba10e683acb18d112470676f62 | ||
| SHA512 (minizip-ng-4.0.10.tar.gz) = 9cb38550aec5f7983d8f3afd7ed376a05c9d0d4347507f8aea426d75da2d5d90555a671da9dbdd7982d3916f0371b4cb1cb647ed2a641e8256202cd8d4737fd7 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified via
azldev comp prepare-sources(inspected the repacked archive: bothencrypted_*.zipremoved, other seed corpus intact;CMakeLists.txthas only theunzip-pkcrypt/unzip-wzaesadd_testblocks removed whileunzip-tiny/bzip2/lzmaand bothcreate_compress_testsremain) andazldev comp render --check-only(no drift). The removed files are libFuzzer seed-corpus fixtures and the spec has no%check, so no tests run against them — only their two now-dangling CTest registrations were dropped. A full mock build isn't runnable in my environment; CI performs it.