Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
libxslt
libxslt-CVE-2012-2825.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libxslt-CVE-2012-2825.patch of Package libxslt
From: cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Fri, 1 Jun 2012 16:47:04 +0000 (+0000) Subject: Fix crash with unexpected DTD nodes in XSLT. X-Git-Url: http://git.chromium.org/gitweb/?p=chromium%2Fsrc.git;a=commitdiff_plain;h=bb7bfb81c158268fb242292b7e0fbd2d3b933d09 Fix crash with unexpected DTD nodes in XSLT. BUG=127417 Review URL: https://chromiumcodereview.appspot.com/10441148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140041 0039d316-1c4b-4281-b951-d872f2087c98 --- diff --git a/third_party/libxslt/libxslt/xsltutils.h b/third_party/libxslt/libxslt/xsltutils.h index 3886be3..c986a9c 100644 --- a/third_party/libxslt/libxslt/xsltutils.h +++ b/third_party/libxslt/libxslt/xsltutils.h @@ -52,8 +52,8 @@ extern "C" { * Checks that the element pertains to XSLT namespace. */ #define IS_XSLT_ELEM(n) \ - (((n) != NULL) && ((n)->ns != NULL) && \ - (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) + (((n) != NULL) && ((n)->type == XML_ELEMENT_NODE) && \ + ((n)->ns != NULL) && (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) /** * IS_XSLT_NAME:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor