Skip to content
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

[bug] - Recover From Panic During Archive Handling #3348

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

ahrav
Copy link
Collaborator

@ahrav ahrav commented Sep 29, 2024

Description:

This PR adds deferred recovery when handling archives to address an index out-of-range (IOOR) panic in the 7zip library. I haven't traced the full call stack yet, but once I do, I'll open an issue and submit a PR with a fix to the upstream repo if I can find a solution.

Screenshot 2024-09-29 at 1 20 56 PM

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@ahrav ahrav requested a review from a team September 29, 2024 20:29
@ahrav ahrav marked this pull request as ready for review September 29, 2024 20:47
@ahrav ahrav requested a review from a team as a code owner September 29, 2024 20:47
@ahrav ahrav merged commit 350db3a into main Sep 30, 2024
12 checks passed
@ahrav ahrav deleted the bug-panic-with-7zip-library branch September 30, 2024 19:45
kashifkhan0771 pushed a commit to kashifkhan0771/trufflehog that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants