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.11] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) #123639

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

sethmlarson
Copy link
Contributor

@sethmlarson sethmlarson commented Sep 3, 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)

…ers (pythonGH-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>
@sethmlarson sethmlarson changed the title [3.11] gh-121285: Remove backtracking when parsing tarfile headers (G… [3.11] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) Sep 3, 2024
@pablogsal pablogsal enabled auto-merge (squash) September 3, 2024 14:59
@pablogsal pablogsal merged commit d449caf into python:3.11 Sep 3, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

2 participants