<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/tarfile.py, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tarfile.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tarfile.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2024-09-04T15:41:42Z</updated>
<entry>
<title>[3.8] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (#123642)</title>
<updated>2024-09-04T15:41:42Z</updated>
<author>
<name>Seth Michael Larson</name>
<email>seth@python.org</email>
</author>
<published>2024-09-04T15:41:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d'/>
<id>urn:sha1:7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d</id>
<content type='text'>
* 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 34ddb64d088dd7ccc321f6103d23153256caa5d4)

Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;
Co-authored-by: Kirill Podoprigora &lt;kirill.bast9@mail.ru&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;
</content>
</entry>
<entry>
<title>[3.8] gh-107845: Fix symlink handling for tarfile.data_filter (GH-107846) (#108279)</title>
<updated>2023-08-22T18:28:34Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2023-08-22T18:28:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b4368b5d581b9661d846feb6d9e69ce4f2580e99'/>
<id>urn:sha1:b4368b5d581b9661d846feb6d9e69ce4f2580e99</id>
<content type='text'>
(cherry picked from commit acbd3f9c5c5f23e95267714e41236140d84fe962)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;
Co-authored-by: Lumír 'Frenzy' Balhar &lt;frenzy.madness@gmail.com&gt;
</content>
</entry>
<entry>
<title>[3.8] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) (#104548)</title>
<updated>2023-05-17T12:23:56Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2023-05-17T12:23:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=79e63e528795c700a8bd198c15f3322ee25ea786'/>
<id>urn:sha1:79e63e528795c700a8bd198c15f3322ee25ea786</id>
<content type='text'>
Backport of c8c3956d905e019101038b018129a4c90c9c9b8f
</content>
</entry>
<entry>
<title>bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409)</title>
<updated>2020-11-25T10:01:01Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-11-25T10:01:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bda2e68c8849e23899b3dad9e436c06303254943'/>
<id>urn:sha1:bda2e68c8849e23899b3dad9e436c06303254943</id>
<content type='text'>
Restore fix from 011525ee92eb1c13ad1a62d28725a840e28f8160.
(cherry picked from commit 4fedd7123eaf147edd55eabbbd72e0bcc8368e47)

Co-authored-by: Julien Palard &lt;julien@palard.fr&gt;</content>
</entry>
<entry>
<title>bpo-41316: Make tarfile follow specs for FNAME (GH-21511)</title>
<updated>2020-10-21T05:29:44Z</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-10-21T05:29:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e866f33a48ee24e447fafd181f0da5f9584e0340'/>
<id>urn:sha1:e866f33a48ee24e447fafd181f0da5f9584e0340</id>
<content type='text'>
tarfile writes full path to FNAME field of GZIP format instead of just basename if user specified absolute path. Some archive viewers may process file incorrectly. Also it creates security issue because anyone can know structure of directories on system and know username or other personal information.

RFC1952 says about FNAME:
This is the original name of the file being compressed, with any directory components removed.

So tarfile must remove directory names from FNAME and write only basename of file.

Automerge-Triggered-By: @jaraco
(cherry picked from commit 22748a83d927d3da1beaed771be30887c42b2500)

Co-authored-by: Artem Bulgakov &lt;ArtemSBulgakov@ya.ru&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (GH-21483)</title>
<updated>2020-07-15T12:30:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-07-15T12:30:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c55479556db015f48fc8bbca17f64d3e65598559'/>
<id>urn:sha1:c55479556db015f48fc8bbca17f64d3e65598559</id>
<content type='text'>
Avoid infinite loop when reading specially crafted TAR files using the tarfile module
(CVE-2019-20907).
(cherry picked from commit 5a8d121a1f3ef5ad7c105ee378cc79a3eac0c7d4)


Co-authored-by: Rishi &lt;rishi_devan@mail.com&gt;

Automerge-Triggered-By: @encukou</content>
</entry>
<entry>
<title>bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161)</title>
<updated>2020-01-24T20:10:42Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-01-24T20:10:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea4a61fec842c94107eef46e5030b89a086f94bb'/>
<id>urn:sha1:ea4a61fec842c94107eef46e5030b89a086f94bb</id>
<content type='text'>
Use `from ... import ...` to ensure module is fully loaded before accessing its attributes.
(cherry picked from commit 9017e0bd5e124ae6d2ed94b9e9cacb2e86270980)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>Add missing docstrings for TarInfo objects (#12555)</title>
<updated>2019-03-27T20:16:34Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2019-03-27T20:16:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a694f2394881fb68b5646061ded01fff6dc47778'/>
<id>urn:sha1:a694f2394881fb68b5646061ded01fff6dc47778</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-36268: Change default tar format to pax from GNU. (GH-12355)</title>
<updated>2019-03-21T14:44:51Z</updated>
<author>
<name>CAM Gerlach</name>
<email>CAM.Gerlach@Gerlach.CAM</email>
</author>
<published>2019-03-21T14:44:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e680c3db80efc4a1d637dd871af21276db45ae03'/>
<id>urn:sha1:e680c3db80efc4a1d637dd871af21276db45ae03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)</title>
<updated>2019-02-25T22:32:27Z</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2019-02-25T22:32:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8377cd4fcd0d51d86834c9b0518d29aac3b49e18'/>
<id>urn:sha1:8377cd4fcd0d51d86834c9b0518d29aac3b49e18</id>
<content type='text'>
</content>
</entry>
</feed>
