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

[3.12] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) #123543

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 31, 2024

  • Remove backtracking when parsing tarfile headers
  • Rewrite PAX header parsing to be stricter
  • Optimize parsing of GNU extended sparse headers v0.0

(cherry picked from commit 34ddb64)

Co-authored-by: Seth Michael Larson seth@python.org
Co-authored-by: Kirill Podoprigora kirill.bast9@mail.ru
Co-authored-by: Gregory P. Smith greg@krypto.org

…thonGH-121286)

* Remove backtracking when parsing tarfile headers
* Rewrite PAX header parsing to be stricter
* Optimize parsing of GNU extended sparse headers v0.0

(cherry picked from commit 34ddb64)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
@gpshead gpshead self-assigned this Aug 31, 2024
@gpshead gpshead enabled auto-merge (squash) August 31, 2024 22:19
@gpshead gpshead merged commit 4eaf489 into python:3.12 Aug 31, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-security A security issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants