diff options
author | Andrej Valek <andrej.valek@siemens.com> | 2018-05-16 12:59:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-22 13:13:33 +0100 |
commit | 669a89f377f7e41731b6920c71231269aebcb229 (patch) | |
tree | fcce09c6c544797c5a198f50e7419da2cdad79b1 /meta/recipes-support/libxslt/libxslt_1.1.32.bb | |
parent | 46a8d4e8479c1f3eb136ef5c91a91ed431fa025a (diff) | |
download | poky-669a89f377f7e41731b6920c71231269aebcb229.tar.gz |
libxslt: Fix handling of RVTs returned from nested EXSLT functions
Set the context variable to NULL when evaluating EXSLT functions.
Fixes potential use-after-free errors or memory leaks.
Fixes bug 792580
(From OE-Core rev: a997bcd3f985b65141f9b7a497581da2fd7afc10)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libxslt/libxslt_1.1.32.bb')
-rw-r--r-- | meta/recipes-support/libxslt/libxslt_1.1.32.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.32.bb b/meta/recipes-support/libxslt/libxslt_1.1.32.bb index 6a03f77699..f0fa5e723f 100644 --- a/meta/recipes-support/libxslt/libxslt_1.1.32.bb +++ b/meta/recipes-support/libxslt/libxslt_1.1.32.bb | |||
@@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458" | |||
8 | SECTION = "libs" | 8 | SECTION = "libs" |
9 | DEPENDS = "libxml2" | 9 | DEPENDS = "libxml2" |
10 | 10 | ||
11 | SRC_URI = "http://xmlsoft.org/sources/libxslt-${PV}.tar.gz" | 11 | SRC_URI = "http://xmlsoft.org/sources/libxslt-${PV}.tar.gz \ |
12 | file://fix-rvts-handling.patch \ | ||
13 | " | ||
14 | |||
12 | SRC_URI[md5sum] = "1fc72f98e98bf4443f1651165f3aa146" | 15 | SRC_URI[md5sum] = "1fc72f98e98bf4443f1651165f3aa146" |
13 | SRC_URI[sha256sum] = "526ecd0abaf4a7789041622c3950c0e7f2c4c8835471515fd77eec684a355460" | 16 | SRC_URI[sha256sum] = "526ecd0abaf4a7789041622c3950c0e7f2c4c8835471515fd77eec684a355460" |
14 | 17 | ||