diff options
author | Seth Michael Larson <seth@python.org> | 2024-08-31 22:17:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-31 22:17:05 (GMT) |
commit | 34ddb64d088dd7ccc321f6103d23153256caa5d4 (patch) | |
tree | 03a35b0fe9aa0200ec90b2a88af1d3d76a6fc4e5 /Misc | |
parent | 0cba289870d5cd41f24b2f63b9480e4593aa2330 (diff) | |
download | cpython-34ddb64d088dd7ccc321f6103d23153256caa5d4.zip cpython-34ddb64d088dd7ccc321f6103d23153256caa5d4.tar.gz cpython-34ddb64d088dd7ccc321f6103d23153256caa5d4.tar.bz2 |
gh-121285: Remove backtracking when parsing tarfile headers (GH-121286)
* Remove backtracking when parsing tarfile headers
* Rewrite PAX header parsing to be stricter
* Optimize parsing of GNU extended sparse headers v0.0
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst b/Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst new file mode 100644 index 0000000..81f918b --- /dev/null +++ b/Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst @@ -0,0 +1,2 @@ +Remove backtracking from tarfile header parsing for ``hdrcharset``, PAX, and +GNU sparse headers. |