diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-12-27 14:48:56 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-03 12:34:25 +0000 |
commit | 156c2554b76cde2d6d9350aaaf9848986201375d (patch) | |
tree | 55325615f9a104ab15c9b49d6b0c94821b5530f0 /meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5668.patch | |
parent | b6037b6d2fc9cb4e8a3564468da0f796ed9235d8 (diff) | |
download | poky-156c2554b76cde2d6d9350aaaf9848986201375d.tar.gz |
freetype: patches for CVE-2012-5668, 5669, and 5670
For details of these security issues, please see:
http://www.openwall.com/lists/oss-security/2012/12/25/1
Thanks to Eren Turkay <eren@hambedded.org> for submitting source
patches that apply cleanly to freetype 2.4.9.
This fixes denzil bug [YOCTO #3649]
(From OE-Core rev: be34916d81b71385a560a6990c7b30eba243b356)
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5668.patch')
-rw-r--r-- | meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5668.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5668.patch b/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5668.patch new file mode 100644 index 0000000000..609d73d3f7 --- /dev/null +++ b/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5668.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 9b6b5754b57c12b820e01305eb69b8863a161e5a Mon Sep 17 00:00:00 2001 | ||
2 | From: Werner Lemberg <wl@gnu.org> | ||
3 | Date: Sat, 15 Dec 2012 00:34:41 +0000 | ||
4 | Subject: [bdf] Fix Savannah bug #37905. | ||
5 | |||
6 | * src/bdf/bdflib.c (_bdf_parse_start): Reset `props_size' to zero in | ||
7 | case of allocation error; this value gets used in a loop in | ||
8 | `bdf_free_font'. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Eren Turkay <eren@hambedded.org> | ||
13 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
14 | --- | ||
15 | diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c | ||
16 | index ed08a6e..8d7f9a0 100644 | ||
17 | --- a/src/bdf/bdflib.c | ||
18 | +++ b/src/bdf/bdflib.c | ||
19 | @@ -2169,7 +2169,10 @@ | ||
20 | p->cnt = p->font->props_size = _bdf_atoul( p->list.field[1], 0, 10 ); | ||
21 | |||
22 | if ( FT_NEW_ARRAY( p->font->props, p->cnt ) ) | ||
23 | + { | ||
24 | + p->font->props_size = 0; | ||
25 | goto Exit; | ||
26 | + } | ||
27 | |||
28 | p->flags |= _BDF_PROPS; | ||
29 | *next = _bdf_parse_properties; | ||
30 | -- | ||
31 | cgit v0.9.0.2 | ||