File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 2
2
Changelog (Pillow)
3
3
==================
4
4
5
+ 7.1.2 (2020-04-25)
6
+ ------------------
7
+
8
+ - Raise an EOFError when seeking too far in PNG #4528
9
+ [radarhere]
10
+
5
11
7.1.1 (2020-04-02)
6
12
------------------
7
13
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
6
6
.. toctree ::
7
7
:maxdepth: 2
8
8
9
+ 7.1.2
9
10
7.1.1
10
11
7.1.0
11
12
7.0.0
You can’t perform that action at this time.
0 commit comments