[issue29774] Improve zipfile handling of corrupted extra field

2017-03-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset feccdb2a249a71be330765be77dee57121866779 by Victor Stinner (Serhiy Storchaka) in branch 'master': bpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583) https://github.com/python/cpython/commit/feccdb2a249a71be330765be77d

[issue29774] Improve zipfile handling of corrupted extra field

2017-03-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the same. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue29774] Improve zipfile handling of corrupted extra field

2017-03-09 Thread STINNER Victor
STINNER Victor added the comment: I merged your PR, thanks! I don't think that this minor enhancement on error message is worth it to be backported. It only impacts corrupted ZIP files, and 3.6 and older already raise an error message. I updated manually the PR status, it seems like the GitHu

[issue29774] Improve zipfile handling of corrupted extra field

2017-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue29774] Improve zipfile handling of corrupted extra field

2017-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +480 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29774] Improve zipfile handling of corrupted extra field

2017-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- type: behavior -> enhancement versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ _

[issue29774] Improve zipfile handling of corrupted extra field

2017-03-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The zipfile module can raise struct.error when process corrupted extra field. This issue was partially resolved by issue14315. Following PR converts struct.error to BadZipFile in other case. -- components: Library (Lib) messages: 289302 nosy: serhi