summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5670.patch
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-12-27 14:48:56 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-03 12:34:25 +0000
commit156c2554b76cde2d6d9350aaaf9848986201375d (patch)
tree55325615f9a104ab15c9b49d6b0c94821b5530f0 /meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5670.patch
parentb6037b6d2fc9cb4e8a3564468da0f796ed9235d8 (diff)
downloadpoky-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-5670.patch')
-rw-r--r--meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5670.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5670.patch b/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5670.patch
new file mode 100644
index 0000000000..73a41ca282
--- /dev/null
+++ b/meta/recipes-graphics/freetype/freetype-2.4.9/CVE-2012-5670.patch
@@ -0,0 +1,29 @@
1From 7f2e4f4f553f6836be7683f66226afac3fa979b8 Mon Sep 17 00:00:00 2001
2From: Werner Lemberg <wl@gnu.org>
3Date: Sat, 15 Dec 2012 08:39:41 +0000
4Subject: [bdf] Fix Savannah bug #37907.
5
6* src/bdf/bdflib.c (_bdf_parse_glyphs) <ENCODING>: Normalize
7negative second parameter of `ENCODING' field also.
8
9Upstream-Status: Pending
10
11Signed-off-by: Eren Turkay <eren@hambedded.org>
12Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13---
14diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
15index f9c06ca..365e671 100644
16--- a/src/bdf/bdflib.c
17+++ b/src/bdf/bdflib.c
18@@ -1624,6 +1624,9 @@
19 if ( p->glyph_enc == -1 && p->list.used > 2 )
20 p->glyph_enc = _bdf_atol( p->list.field[2], 0, 10 );
21
22+ if ( p->glyph_enc < -1 )
23+ p->glyph_enc = -1;
24+
25 FT_TRACE4(( DBGMSG2, p->glyph_enc ));
26
27 /* Check that the encoding is in the Unicode range because */
28--
29cgit v0.9.0.2