File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ Changelog (Pillow)
1111- Fix pickling WebP #4561
1212 [hugovk, radarhere]
1313
14+ 7.1.2 (2020-04-25)
15+ ------------------
16+
1417- Raise an EOFError when seeking too far in PNG #4528
1518 [radarhere]
1619
Original file line number Diff line number Diff line change 1+ 7.1.2
2+ -----
3+
4+ Fix another regression seeking PNG files
5+ ========================================
6+
7+ This fixes a regression introduced in 7.1.0 when adding support for APNG files.
8+
9+ When calling ``seek(n) `` on a regular PNG where ``n > 0 ``, it failed to raise an
10+ ``EOFError `` as it should have done, resulting in:
11+
12+ .. code-block :: python
13+
14+ AttributeError : ' NoneType' object has no attribute ' read'
15+
16+ Pillow 7.1.2 now raises the correct exception.
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Release Notes
66.. toctree ::
77 :maxdepth: 2
88
9+ 7.1.2
910 7.1.1
1011 7.1.0
1112 7.0.0
You can’t perform that action at this time.
0 commit comments