File tree Expand file tree Collapse file tree 1 file changed +14
-27
lines changed
Expand file tree Collapse file tree 1 file changed +14
-27
lines changed Original file line number Diff line number Diff line change 119.4.0
22-----
33
4- Backwards Incompatible Changes
5- ==============================
6-
7- TODO
8- ^^^^
9-
10- TODO
11-
12- Deprecations
13- ============
14-
15- TODO
16- ^^^^
17-
18- TODO
19-
20- API Changes
21- ===========
22-
23- TODO
24- ^^^^
25-
26- TODO
27-
284API Additions
295=============
306
@@ -96,10 +72,21 @@ When saving a JPEG image, a comment can now be written from
9672Security
9773========
9874
99- TODO
100- ^^^^
75+ Fix memory DOS in ImageFont
76+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
77+
78+ A corrupt or specially crafted TTF font could have font metrics that lead to
79+ unreasonably large sizes when rendering text in font. ``ImageFont.py `` did not
80+ check the image size before allocating memory for it. This dates to the PIL
81+ fork. Pillow 8.2.0 added a check for large sizes, but did not consider the
82+ case where one dimension is zero.
83+
84+ Null pointer dereference crash in ImageFont
85+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10186
102- TODO
87+ Pillow attempted to dereference a null pointer in ``ImageFont ``, leading to a
88+ crash. An error is now raised instead. This has been present since
89+ Pillow 8.0.0.
10390
10491Other Changes
10592=============
You can’t perform that action at this time.
0 commit comments