Skip to content

Fix SharpCompress 0.48.0 compile break (Dependabot #26 / GHSA-6c8g-7p36-r338) - #32

Closed
julerobb1 wants to merge 3 commits into
devfrom
cursor/sharpcompress-048-compile-fix-be2c
Closed

julerobb1 wants to merge 3 commits into
devfrom
cursor/sharpcompress-048-compile-fix-be2c

Conversation

@julerobb1

@julerobb1 julerobb1 commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

Dependabot already opened the SharpCompress security bump as #26 (0.29.00.48.0, targeting main). That PR is not merge-ready: Production Release CI failed with:

ArchiveExtractor.cs(123,52): error CS0117: 'ArchiveFactory' does not contain a definition for 'Open'

This follow-up is based on that bump and only fixes the 0.45+/0.48.0 call-site rename:

  • ArchiveFactory.Open(archivePath)ArchiveFactory.OpenArchive(archivePath)

No second Dependabot-style bump PR. Extraction options (ExtractFullPath / Overwrite) and WriteToDirectory remain valid on 0.48.0.

Base: dev (retargeted from main; branch rebased onto current dev so the diff is only the SharpCompress bump + compile fix).

Alert this closes

  • Dependabot alert Dev #2
  • GHSA-6c8g-7p36-r338 / CVE-2026-44788
  • Vendor fix for WriteToDirectory path traversal (zip-slip variant)
  • Affected: SharpCompress <= 0.47.4
  • Patched: SharpCompress 0.48.0 (this PR keeps the Dependabot version)

Change

File What
ProcessorEmulator.csproj SharpCompress 0.29.00.48.0 (from #26)
ArchiveExtractor.cs ArchiveFactory.OpenOpenArchive (compile fix)

Unrelated packages are unchanged. Extraction logic is not rewritten.

Verification

  • Isolated net8.0 compile of the SharpCompress call sites against 0.48.0 succeeded.
  • Windows Production Release / build passed on the pre-rebase revision (the same job that failed on Bump SharpCompress from 0.29.0 to 0.48.0 #26).
  • submit-nuget still fails with NETSDK1100 (Linux restore of net8.0-windows). That is the same pre-existing GitHub Dependency Submission failure as Bump SharpCompress from 0.29.0 to 0.48.0 #26, not a SharpCompress API break.

Please close or supersede #26 in favor of this follow-up.

Open in Web Open in Cursor 

julerobb1 and others added 3 commits August 28, 2026 10:11
Major progress was made. I gave up and slammed cursor AI on the case. Vibe coded or not. There's a limit to my sanity and understanding of cpus and things.
---
updated-dependencies:
- dependency-name: SharpCompress
  dependency-version: 0.48.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Dependabot #26 bumps SharpCompress 0.29.0 → 0.48.0 (GHSA-6c8g-7p36-r338).
0.45+ renamed ArchiveFactory.Open to OpenArchive; CI failed with CS0117.

Co-authored-by: Julian R <julerobb1@users.noreply.github.com>
@julerobb1
julerobb1 marked this pull request as ready for review August 29, 2026 02:57
@julerobb1
julerobb1 changed the base branch from main to dev August 31, 2026 17:18
@julerobb1

Copy link
Copy Markdown
Owner Author

Closing as stale branch cleanup. ExtraROM leftover dest-live on PR #30 is the only active work; keeping main, dev, and cursor/load-etc-extrarom-2404.

@julerobb1 julerobb1 closed this Aug 31, 2026
@julerobb1
julerobb1 deleted the cursor/sharpcompress-048-compile-fix-be2c branch August 31, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants