Skip to content

Commit

Permalink
Release notes for 7.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 25, 2020
1 parent e038c84 commit f6358a6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog (Pillow)
==================

7.1.2 (2020-04-25)
------------------

- Raise an EOFError when seeking too far in PNG #4528
[radarhere]

7.1.1 (2020-04-02)
------------------

Expand Down
16 changes: 16 additions & 0 deletions docs/releasenotes/7.1.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
7.1.2
-----

Fix another regression seeking PNG files
========================================

This fixes a regression introduced in 7.1.0 when adding support for APNG files.

When calling ``seek(n)`` on a regular PNG where ``n > 0``, it failed to raise an
``EOFError`` as it should have done, resulting in:

.. code-block:: python
AttributeError: 'NoneType' object has no attribute 'read'
Pillow 7.1.2 now raises the correct exception.
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release Notes
.. toctree::
:maxdepth: 2

7.1.2
7.1.1
7.1.0
7.0.0
Expand Down

0 comments on commit f6358a6

Please sign in to comment.