Skip to content

Commit

Permalink
Merge pull request #6850 from radarhere/releasenotes
Browse files Browse the repository at this point in the history
Added release notes for #6842 and #6846
  • Loading branch information
mergify[bot] committed Jan 1, 2023
2 parents 0efda91 + e908afe commit 38a93a0
Showing 1 changed file with 14 additions and 27 deletions.
41 changes: 14 additions & 27 deletions docs/releasenotes/9.4.0.rst
@@ -1,30 +1,6 @@
9.4.0
-----

Backwards Incompatible Changes
==============================

TODO
^^^^

TODO

Deprecations
============

TODO
^^^^

TODO

API Changes
===========

TODO
^^^^

TODO

API Additions
=============

Expand Down Expand Up @@ -96,10 +72,21 @@ When saving a JPEG image, a comment can now be written from
Security
========

TODO
^^^^
Fix memory DOS in ImageFont
^^^^^^^^^^^^^^^^^^^^^^^^^^^

A corrupt or specially crafted TTF font could have font metrics that lead to
unreasonably large sizes when rendering text in font. ``ImageFont.py`` did not
check the image size before allocating memory for it. This dates to the PIL
fork. Pillow 8.2.0 added a check for large sizes, but did not consider the
case where one dimension is zero.

Null pointer dereference crash in ImageFont
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TODO
Pillow attempted to dereference a null pointer in ``ImageFont``, leading to a
crash. An error is now raised instead. This has been present since
Pillow 8.0.0.

Other Changes
=============
Expand Down

0 comments on commit 38a93a0

Please sign in to comment.