Staging
v0.5.1
https://github.com/python/cpython
Revision cac9ca8ed99bd98f4c0dcd1913a146192bf5ee84 authored by Petr Viktorin on 16 July 2020, 19:48:01 UTC, committed by GitHub on 16 July 2020, 19:48:01 UTC
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 <rishi_devan@mail.com>
1 parent f52bf62
Raw File
Tip revision: cac9ca8ed99bd98f4c0dcd1913a146192bf5ee84 authored by Petr Viktorin on 16 July 2020, 19:48:01 UTC
[3.5] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (#21489)
Tip revision: cac9ca8
.gitattributes
# Binary data types
*.aif binary
*.aifc binary
*.aiff binary
*.au binary
*.bmp binary
*.exe binary
*.icns binary
*.gif binary
*.ico binary
*.jpg binary
*.pck binary
*.png binary
*.psd binary
*.tar binary
*.wav binary
*.whl binary
*.zip binary

# Specific binary files
Lib/test/sndhdrdata/sndhdr.* binary

# Text files that should not be subject to eol conversion
Lib/test/cjkencodings/* -text
Lib/test/decimaltestdata/*.decTest -text
Lib/test/test_email/data/*.txt -text
Lib/test/xmltestdata/* -text
Lib/test/coding20731.py -text

# Special files in third party code
Modules/zlib/zlib.map -text

# CRLF files
*.bat text eol=crlf
*.ps1 text eol=crlf
*.sln text eol=crlf
*.vcxproj* text eol=crlf
*.props text eol=crlf
*.proj text eol=crlf
PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf
back to top