summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
diff options
context:
space:
mode:
authorLi Wang <li.wang@windriver.com>2013-01-07 11:10:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-07 11:32:14 +0000
commit3f8f1ea957c7c319b921c97466f80c24c8b62be9 (patch)
tree725fd06c989e0339c3e133df425af371c2f6d7a4 /meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
parent923852c9522b15ffda9885a38a174ada61c90528 (diff)
downloadpoky-3f8f1ea957c7c319b921c97466f80c24c8b62be9.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: fdd6da5933a3e7dd1e0ca2afd7107839b4fa65e8) 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.bb6
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 100b51e8a8..ad17014a22 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"
11DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native" 11DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native"
12BBCLASSEXTEND = "native" 12BBCLASSEXTEND = "native"
13 13
14PR = "r10" 14PR = "r11"
15 15
16inherit autotools pkgconfig gnome gtk-doc 16inherit autotools pkgconfig gnome gtk-doc
17 17
@@ -23,7 +23,9 @@ PACKAGECONFIG_virtclass-native = ""
23 23
24PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco" 24PACKAGECONFIG[croco] = "--with-croco,--without-croco,libcroco"
25 25
26SRC_URI += "file://doc_Makefile.patch" 26SRC_URI += "file://doc_Makefile.patch \
27 file://librsvg-CVE-2011-3146.patch \
28 "
27 29
28SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7" 30SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7"
29SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334" 31SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334"