diff options
author | Li Wang <li.wang@windriver.com> | 2012-12-13 14:51:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-17 17:24:56 +0000 |
commit | 355fb13d89e74911262d0b0225ccf68bdafb01c9 (patch) | |
tree | f4d95f700de823cc3dacca4377f2c655b50793ed /meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | |
parent | 8780c5ddf2916bbd42fc67b79c286652aebb1546 (diff) | |
download | poky-355fb13d89e74911262d0b0225ccf68bdafb01c9.tar.gz |
librsvg: CVE-2011-3146
Store node type separately in RsvgNode
commit 34c95743ca692ea0e44778e41a7c0a129363de84 upstream
The node name (formerly RsvgNode:type) cannot be used to infer
the sub-type of RsvgNode that we're dealing with, since for unknown
elements we put type = node-name. This lead to a (potentially exploitable)
crash e.g. when the element name started with "fe" which tricked
the old code into considering it as a RsvgFilterPrimitive.
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3146
https://bugzilla.gnome.org/show_bug.cgi?id=658014
[YOCTO #3581]
[ CQID: WIND00376773 ]
Upstream-Status: Backport
(From OE-Core rev: 64de49bed598ce9d4ee0b448badc38a433712aff)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/librsvg/librsvg_2.32.1.bb')
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb index 4f838e0318..3621045b38 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | |||
@@ -11,7 +11,7 @@ DEPENDS = "gtk+ cairo libxml2" | |||
11 | DEPENDS_class-native = "cairo-native pango-native gdk-pixbuf-native" | 11 | DEPENDS_class-native = "cairo-native pango-native gdk-pixbuf-native" |
12 | BBCLASSEXTEND = "native" | 12 | BBCLASSEXTEND = "native" |
13 | 13 | ||
14 | PR = "r10" | 14 | PR = "r11" |
15 | 15 | ||
16 | inherit autotools pkgconfig gnome gtk-doc | 16 | inherit autotools pkgconfig gnome gtk-doc |
17 | 17 | ||
@@ -23,7 +23,9 @@ PACKAGECONFIG_class-native = "" | |||
23 | 23 | ||
24 | PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco" | 24 | PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco" |
25 | 25 | ||
26 | SRC_URI += "file://doc_Makefile.patch" | 26 | SRC_URI += "file://doc_Makefile.patch \ |
27 | file://librsvg-CVE-2011-3146.patch \ | ||
28 | " | ||
27 | 29 | ||
28 | SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7" | 30 | SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7" |
29 | SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334" | 31 | SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334" |