bpo-36993: Improve error detection of extra field in ZipFile by berkerpeksag · Pull Request #13727 · python/cpython
Conversation
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An IndexError can still be raised if file_size, compress_size and header_offset are all set to 0xffffffff and ln < 24.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters