List of commits:
Subject Hash Author Date (UTC)
bpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583) feccdb2a249a71be330765be77dee57121866779 Serhiy Storchaka 2017-03-09 16:34:03
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570) 964281af59d7a17d923c4d72357e48832b774e39 orenmn 2017-03-09 09:35:28
bpo-29768: Fixed compile-time check for expat version. (#574) 22e707fa04476710ba5cc7e2206e4ac66743931b Serhiy Storchaka 2017-03-09 07:47:52
bpo-29749: Update int() docstring (GH-565) 390a0969c1206a37c86961ebf7ef3050681ed8dd svelankar 2017-03-09 00:29:01
Use Py_RETURN_FALSE/Py_RETURN_TRUE rather than PyBool_FromLong(0)/PyBool_FromLong(1). (#567) 370fd202f1a3d06329ca2dbfdcb22ca1c9de64c0 Serhiy Storchaka 2017-03-08 18:47:48
Fix the only non-C90 comment to be C90 compatible. (#566) f7eda3882e2fa989330d71c098d3b625bb2749d3 n.d. parker 2017-03-08 18:24:22
Exit Travis when only Misc/* is changed. (#564) 4a2ffce791ce18453adabcc1a2de29500f9a50aa Serhiy Storchaka 2017-03-08 18:22:16
bpo-29645: Speed up importing the webbrowser module. (#484) a7cba27aea138311117e2ab1d91584efcfeac4ec Serhiy Storchaka 2017-03-08 15:15:54
bpo-28231: The zipfile module now accepts path-like objects for external paths. (#511) 8606e9524a7a4065042f7f228dc57eb74f88e4d3 Serhiy Storchaka 2017-03-08 12:37:51
bpo-28331: fix impl-detail label is removed when content is translated. (GH-195) c351ce6a2c923c5016e48ecbf7b1e4833031d154 INADA Naoki 2017-03-08 10:07:13
bpo-28230: Document the pathlib support in tarfile and add tests. (#512) c45cd167d403d7d98078d5fc4a37b16195dc7a35 Serhiy Storchaka 2017-03-08 08:32:44
Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) 21a74312f2d1ddee71fade709af49d078085ec30 Benjamin Peterson 2017-03-08 06:48:09
allow the first call to wcsxfrm to return ERANGE (#536) ad4a0cc519a5bb14204324e0e32e976318f9e6ce Benjamin Peterson 2017-03-08 06:24:44
make the glibc alias table take precedence over the X11 one (#422) 02371e0ed1ee82ec73e7d363bcf2ed40cde1397a Benjamin Peterson 2017-03-08 06:03:13
bpo-29568: Disable any characters between two percents for escaped percent "%%" in the format string for classic string formatting. (GH-513) 9f8ad3f39e0a92ed37d012b9dd237399524f0d51 Serhiy Storchaka 2017-03-08 03:51:19
bpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495) c393ee858932f79bd6dabf31550f9a53ea90bc68 Xiang Zhang 2017-03-08 03:18:49
bpo-26915: Test identity first in membership operation in index() and count() methods of collections.abc.Sequence (GH-503) d5d3249e8a37936d32266fa06ac20017307a1f70 Xiang Zhang 2017-03-08 03:04:24
bpo-28682: Added support for bytes paths in os.fwalk(). (#489) 8f6b344d368c15c3fe56c65c2f2776e7766fef55 Serhiy Storchaka 2017-03-07 12:33:21
PCbuild: Add -q option to svn export (GH-535) 8886d5f39286dffa7d9337857b151e7fb4af23fd INADA Naoki 2017-03-07 06:34:38
bpo-29676: fix lsprof can't profile C method call. (GH523) 93fac8dd358cd0e85e7b59115db226ce685d3f6f INADA Naoki 2017-03-07 05:24:37
Commit feccdb2a249a71be330765be77dee57121866779 - bpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583)
Author: Serhiy Storchaka
Author date (UTC): 2017-03-09 16:34
Committer name: Victor Stinner
Committer date (UTC): 2017-03-09 16:34
Parent(s): 964281af59d7a17d923c4d72357e48832b774e39
Signer:
Signing key:
Signing status: N
Tree: 003b97627283dc69d2611d4abbbf10217a99fdb1
File Lines added Lines deleted
Lib/zipfile.py 3 1
File Lib/zipfile.py changed (mode: 100644) (index b5c16dbc12..8a19ca246b)
... ... class ZipInfo (object):
438 438 unpack = struct.unpack unpack = struct.unpack
439 439 while len(extra) >= 4: while len(extra) >= 4:
440 440 tp, ln = unpack('<HH', extra[:4]) tp, ln = unpack('<HH', extra[:4])
441 if tp == 1:
441 if ln+4 > len(extra):
442 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))
443 if tp == 0x0001:
442 444 if ln >= 24: if ln >= 24:
443 445 counts = unpack('<QQQ', extra[4:28]) counts = unpack('<QQQ', extra[4:28])
444 446 elif ln == 16: elif ln == 16:
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/benf_wspdigital/cpython

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/benf_wspdigital/cpython

Clone this repository using git:
git clone git://git.rocketgit.com/user/benf_wspdigital/cpython

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main