[issue39688] tarfile: GNU sparse 1.0 pax tar header offset not properly computed

2020-02-19 Thread Valentin Samir
New submission from Valentin Samir : When tarfile open a tar containing a sparse file where actual data is bigger than 0o777 bytes (~8GB), it fails listing members after this file. As so, it is impossible to access/extract files located after a such file inside the archive. A tar

[issue39688] tarfile: GNU sparse 1.0 pax tar header offset not properly computed

2020-02-19 Thread Valentin Samir
Valentin Samir added the comment: This commit fix the issue https://github.com/nitmir/cpython/commit/50c1f686054e41738f14de453ede30e942064200 I am currently unable to create pull request on github (error 500) -- ___ Python tracker <ht

[issue39688] tarfile: GNU sparse 1.0 pax tar header offset not properly computed

2020-02-19 Thread Valentin Samir
Valentin Samir added the comment: hum trying to be clever and I am doing mistakes. This commit is simpler and effectively fixes the issue https://github.com/nitmir/cpython/commit/682138a3544a2d7de457c88712e738938568f908 tarinfo.offset_data is where tarfile start reading the file data and

[issue39688] tarfile: GNU sparse 1.0 pax tar header offset not properly computed

2020-02-19 Thread Valentin Samir
Change by Valentin Samir : -- keywords: +patch pull_requests: +17942 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18562 ___ Python tracker <https://bugs.python.org/issu