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 1
1
9.4.0
2
2
-----
3
3
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
-
28
4
API Additions
29
5
=============
30
6
@@ -96,10 +72,21 @@ When saving a JPEG image, a comment can now be written from
96
72
Security
97
73
========
98
74
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
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
86
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.
103
90
104
91
Other Changes
105
92
=============
You can’t perform that action at this time.
0 commit comments