Description
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
Problem types
Product status
Any version before 3.16.0
Credits
Ryan Hileman (https://github.com/lunixbochs)
Petr Viktorin (https://github.com/encukou)
Stan Ulbrych (https://github.com/StanFromIreland)
References
github.com/python/cpython/issues/151981
github.com/python/cpython/pull/151982
mail.python.org/.../thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/