[issue34010] tarfile stream read performance

INADA Naoki report at bugs.python.org
Sun Jul 1 19:30:23 EDT 2018


INADA Naoki <songofacandy at gmail.com> added the comment:

Nice catch.

I confirmed this is a hard regression of performance.
Decompressing a file must be O(n) when n=filesize, but O(n^2) now.

While we live with this regression for a long time, I feel it's worth enough to backport.
This can be DoS vulnerability.

Can you write NEWS entry for it?

----------
nosy: +inada.naoki

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34010>
_______________________________________


More information about the Python-bugs-list mailing list