File tree Expand file tree Collapse file tree 1 file changed +7
-27
lines changed Expand file tree Collapse file tree 1 file changed +7
-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,14 @@ 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
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
77
102
- TODO
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. Pilllow 8.2.0 added a check for large sizes, but did not consider the
82
+ case where one dimension was zero.
103
83
104
84
Other Changes
105
85
=============
You can’t perform that action at this time.
0 commit comments