Skip to content

Revert WinZipAesStreamFuzzer, ZipCryptoStreamFuzzer - #131075

Merged
MihaZupan merged 1 commit into
dotnet:mainfrom
MihaZupan:revert-zipStreamFuzzers
Jul 20, 2026
Merged

Revert WinZipAesStreamFuzzer, ZipCryptoStreamFuzzer#131075
MihaZupan merged 1 commit into
dotnet:mainfrom
MihaZupan:revert-zipStreamFuzzers

Conversation

@MihaZupan

Copy link
Copy Markdown
Member

Deletes the fuzzers added as part of #122093 (comment).

These neither build (via run.bat because of missing corpus file), neither run at all with a TypeInitializationException, so I get the impression they were never tested/ran.
Removing to unblock fuzzing for other projects.

For future reference, please don't commit new fuzzers that you haven't tested locally. It's highly unlikely you/your AI agent got them right immediately on the first try, without a single assert out of place.

@MihaZupan MihaZupan added this to the 11.0.0 milestone Jul 20, 2026
@MihaZupan
MihaZupan requested a review from a team July 20, 2026 12:11
@MihaZupan MihaZupan self-assigned this Jul 20, 2026
Copilot AI review requested due to automatic review settings July 20, 2026 12:11
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 5 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @karelz, @dotnet/area-system-io-compression
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes two broken fuzzing harnesses from the DotnetFuzzing project and updates the OneFuzz deployment pipeline accordingly, reducing noise/failures and unblocking fuzzing runs for other targets.

Changes:

  • Delete WinZipAesStreamFuzzer and ZipCryptoStreamFuzzer from src/libraries/Fuzzing/DotnetFuzzing/Fuzzers/.
  • Remove the corresponding OneFuzz deployment steps from eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/libraries/Fuzzing/DotnetFuzzing/Fuzzers/ZipCryptoStreamFuzzer.cs Removes the ZipCrypto stream fuzzer harness (file deleted).
src/libraries/Fuzzing/DotnetFuzzing/Fuzzers/WinZipAesStreamFuzzer.cs Removes the WinZip AES stream fuzzer harness (file deleted).
eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml Stops deploying the removed fuzzers to OneFuzz.

@alinpahontu2912 alinpahontu2912 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, will take a look. Approving to unblock

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Workflow state for the Holistic Review Orchestrator.

{
  "version": 5,
  "last_dispatched_commit": "a6562fd5005a01081bf0efa4c01edfd1899f87bf",
  "last_dispatched_base_ref": "main",
  "last_dispatched_base_sha": "d349aa7988e9adf0ee0f5f0473886c0582975955",
  "last_reviewed_commit": "a6562fd5005a01081bf0efa4c01edfd1899f87bf",
  "last_reviewed_base_ref": "main",
  "last_reviewed_base_sha": "d349aa7988e9adf0ee0f5f0473886c0582975955",
  "last_recorded_worker_run_id": "29744573407",
  "review_attempt_commit": "",
  "review_attempt_base_ref": "",
  "review_attempt_count": 0,
  "max_review_attempts": 5,
  "review_history_format": "holistic-review-disclosure-v1",
  "review_history": [
    {
      "commit": "a6562fd5005a01081bf0efa4c01edfd1899f87bf",
      "review_id": 4735261986
    }
  ]
}

@MihaZupan
MihaZupan enabled auto-merge (squash) July 20, 2026 13:12

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holistic Review

Motivation: The PR reverts two fuzzers (WinZipAesStreamFuzzer and ZipCryptoStreamFuzzer) added in #122093. Per the description, these never built via run.bat (missing corpus file) and threw TypeInitializationException at runtime, so they were effectively non-functional and were blocking the fuzzing pipeline for other projects.

Approach: The change deletes the two fuzzer source files under src/libraries/Fuzzing/DotnetFuzzing/Fuzzers/ and removes their corresponding onefuzz-task@0 deployment steps from eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml. This is a straightforward, deletion-only revert (0 additions, 314 deletions).

Summary: The revert is clean and complete. Fuzzers are discovered by reflection in Program.cs (types implementing IFuzzer), so deleting the source files fully deregisters them without any manual list to update. I confirmed no remaining references to WinZipAesStreamFuzzer, ZipCryptoStreamFuzzer, or their corpus names (winzipaesstream, zipcryptostream) exist at the head commit, and the two YAML deployment steps that referenced them were removed while the surrounding tasks (e.g., Utf8JsonWriterFuzzer, ZipArchiveFuzzer) remain intact and correctly bracketed by the ONEFUZZ_TASK_WORKAROUND markers. Removing non-functional fuzzers to unblock the pipeline is reasonable and low-risk. No concerns; LGTM.

Note

This review was generated by this repository's Holistic Review agentic workflow to complement the built-in Copilot review.

Generated by Holistic Review · 36.9 AIC · ⌖ 9.64 AIC · ⊞ 10K

@MihaZupan
MihaZupan merged commit dd53711 into dotnet:main Jul 20, 2026
131 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants