commit libxslt for openSUSE:12.2
Hello community, here is the log from the commit of package libxslt for openSUSE:12.2 checked in at 2012-07-23 12:09:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/libxslt (Old) and /work/SRC/openSUSE:12.2/.libxslt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libxslt", Maintainer is "VCizek@suse.com" Changes: -------- New Changes file: --- /dev/null 2012-07-06 19:40:38.919402255 +0200 +++ /work/SRC/openSUSE:12.2/.libxslt.new/libxslt-python.changes 2012-07-23 12:09:51.000000000 +0200 @@ -0,0 +1,252 @@ +------------------------------------------------------------------- +Thu Feb 16 21:23:22 UTC 2012 - coolo@suse.com + +- add libtool as buildrequire to fix compilation + +------------------------------------------------------------------- +Mon Nov 21 15:49:42 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + +------------------------------------------------------------------- +Tue Aug 2 15:09:50 UTC 2011 - idonmez@novell.com + +- Add dependency on libgcrypt-devel and libgpg-error-devel for + the libxslt-devel package. + +------------------------------------------------------------------- +Mon Aug 1 09:59:25 UTC 2011 - idonmez@novell.com + +- Correctly obsolete libxslt package in the baselibs.conf too + +------------------------------------------------------------------- +Fri Jul 29 09:37:15 UTC 2011 - idonmez@novell.com + +- Fix build by not using %exclude + +------------------------------------------------------------------- +Fri Jul 29 03:46:57 UTC 2011 - crrodriguez@opensuse.org + +- Rework build of this package in a sane way. + +------------------------------------------------------------------- +Wed Jul 21 13:19:36 UTC 2010 - puzel@novell.com + +- updated to 1.1.26 + - no python related fixes in this libxslt release + +------------------------------------------------------------------- +Fri Apr 11 14:39:52 CEST 2008 - prusnak@suse.cz + +- updated to 1.1.23 + * Documentation + fix links for Cygwin DocBook setup (Philippe Bourcier) + - xsltParseStylesheetDoc doc fix (Jason Viers) + - fix manpage default maxdepth value + * Bug fixes: + - python segfault (Daniel Gryniewicz) + - week-in-year bug fix (Maurice van der Pot) + - fix python iterator problem (William Brack) + - avoid garbage collection problems on str:tokenize and str:split + and function results (William Brack and Peter Pawlowski) + - superfluous re-generation of keys (William Brack) + - remove superfluous code in xsltExtInitTest (Tony Graham) + - func:result segfault fix (William Brack) + - timezone offset problem (Peter Pawlowski), + * Portability fixes: + - old gcrypt support fix (Brent Cowgill) + - Python portability patch (Stephane Bidoul) + - VS 2008 fix (Rob Richard) + +------------------------------------------------------------------- +Tue Jan 22 12:19:20 CET 2008 - prusnak@suse.cz + +- build without strict aliasing (as main package does) + +------------------------------------------------------------------- +Tue Sep 18 16:21:03 CEST 2007 - sbrabec@suse.cz + +- Updated to version 1.1.22: + * Bug fixes: RVT cleanup problems, exclude-result-prefix bug, + stylesheet compilation error handling, out of memory allocation + errors, namespace problem on compound predicates, python + space/tab inconsistencies, hook xsl:message to per + transformation error callbacks, cached RVT problem, XPath + context maintainance on choose, memory leaks in the math + module, exclude-result-prefix induced namespace problem + * Portability fixes: improve build with VS2005, fixing build on + AIX, fix the security file checks on Windows. + * Improvement: add an --encoding option to xsltproc. + * Build: configure setup for TRIO_REPLACE_STDIO + * Documentation: updated after change from CVs to SVN + +------------------------------------------------------------------- +Mon Aug 20 15:57:47 CEST 2007 - sbrabec@suse.cz + +- Commented out NoSource to provide comfortable rebuild. + +------------------------------------------------------------------- +Thu Jan 25 15:53:43 CET 2007 - prusnak@suse.cz + +- update to 1.1.20 + * sync to libxslt-1.1.20 +- drop obsolete patches: + * libxslt-transform.patch (included in update) + +------------------------------------------------------------------- +Thu Jan 11 13:59:06 CET 2007 - ke@suse.de + +- Adjust python-linkflags.patch for 1.1.19 and do not apply obsolete + warn patch. + +------------------------------------------------------------------- +Tue Dec 12 11:14:18 CET 2006 - ke@suse.de + +- 1.1.19. + +------------------------------------------------------------------- +Tue Nov 28 12:30:14 CET 2006 - ke@suse.de + +- Do not install static Python module; reported by Andreas Hanke + [#223696]. + +------------------------------------------------------------------- +Fri Jun 16 15:54:03 CEST 2006 - ke@suse.de + +- 1.1.17. + +------------------------------------------------------------------- +Wed Jan 25 21:37:50 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Sep 30 16:30:21 CEST 2005 - aj@suse.de + +- Fix compiler warnings. + +------------------------------------------------------------------- +Fri Sep 16 17:54:17 CEST 2005 - ke@suse.de + +- Update to version 1.1.15. + +------------------------------------------------------------------- +Wed Jul 6 16:36:19 CEST 2005 - meissner@suse.de + +- removed -fno-strict-aliasing, not needed here. + +------------------------------------------------------------------- +Mon Apr 4 11:06:01 CEST 2005 - ke@suse.de + +- Update to version 1.1.14. + +------------------------------------------------------------------- +Wed Nov 24 15:16:44 CET 2004 - mcihar@suse.cz + +- use rpm macros to build correcly with current python + +------------------------------------------------------------------- +Tue Nov 2 11:35:10 CET 2004 - ke@suse.de + +- Update to version 1.1.12. + +------------------------------------------------------------------- +Tue Oct 12 12:08:57 CEST 2004 - ke@suse.de + +- Add libgcrypt* and libgpg-error* to neededforbuild. + +------------------------------------------------------------------- +Fri Oct 8 06:19:39 CEST 2004 - ke@suse.de + +- Update to version 1.1.11. + +------------------------------------------------------------------- +Mon Aug 23 08:20:42 CEST 2004 - ke@suse.de + +- Update to version 1.1.9. + +------------------------------------------------------------------- +Thu Aug 19 18:48:12 CEST 2004 - schwab@suse.de + +- Fix a broken cast. + +------------------------------------------------------------------- +Wed Jul 14 16:19:09 CEST 2004 - ke@suse.de + +- Update to version 1.1.8. + +------------------------------------------------------------------- +Fri May 21 16:05:05 CEST 2004 - ke@suse.de + +- Update to version 1.1.7. + +------------------------------------------------------------------- +Tue Apr 20 14:24:43 CEST 2004 - ke@suse.de + +- Update to version 1.1.6. + +------------------------------------------------------------------- +Fri Dec 12 13:23:41 CET 2003 - ke@suse.de + +- Update to version 1.1.1. + +------------------------------------------------------------------- +Wed Nov 5 16:11:09 CET 2003 - ke@suse.de + +- Update to version 1.1.0; for details cf. the libxslt changelog. + ++++ 55 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.2/.libxslt.new/libxslt-python.changes New Changes file: --- /dev/null 2012-07-06 19:40:38.919402255 +0200 +++ /work/SRC/openSUSE:12.2/.libxslt.new/libxslt.changes 2012-07-23 12:09:51.000000000 +0200 @@ -0,0 +1,758 @@ +------------------------------------------------------------------- +Thu Jun 28 09:46:35 UTC 2012 - vcizek@suse.com + +- fixed CVE-2012-2825 (bnc#769182) + +------------------------------------------------------------------- +Sat Mar 17 17:38:20 UTC 2012 - jengelh@medozas.de + +- Make sure to follow shlib policy; put tools in a separate package + like done in libxml2 + +------------------------------------------------------------------- +Wed Jan 4 18:44:16 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags (License: field is inherited) +- Use exact EVR for Provides: + +------------------------------------------------------------------- +Wed Jan 4 10:17:35 UTC 2012 - cfarrell@suse.com + +- Tutorial contains GPL-2.0+ code. Either split this off into a subpackage or + add GPL-2.0+ as an aggregation to the main licence tag + +------------------------------------------------------------------- +Sat Dec 3 17:29:03 UTC 2011 - agraf@suse.com + +- don't run make check in QEMU builds - breaks due to massive threading + +------------------------------------------------------------------- +Mon Nov 21 15:49:37 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + +------------------------------------------------------------------- +Sun Nov 20 06:25:40 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Thu Sep 8 18:33:54 CEST 2011 - dmueller@suse.de + +- fix provides/obsoletes + +------------------------------------------------------------------- +Tue Aug 2 15:09:50 UTC 2011 - idonmez@novell.com + +- Add dependency on libgcrypt-devel and libgpg-error-devel for + the libxslt-devel package + +------------------------------------------------------------------- +Mon Aug 1 09:59:25 UTC 2011 - idonmez@novell.com + +- Correctly obsolete libxslt package in the baselibs.conf too + +------------------------------------------------------------------- +Fri Jul 29 09:37:02 UTC 2011 - idonmez@novell.com + +- Fix build on SLE + +------------------------------------------------------------------- +Fri Jul 29 01:53:38 UTC 2011 - crrodriguez@opensuse.org + +- Fix broken requires,provides,Obsoletes causing "have choice.." + build system errors +- Remove all "la" files since they are no longer needed +- Fix -devel pacakge requires and messed up -config scripts + this may cause build fails of already broken dependant packages + that do not link all the needed libraries in an explicit manner + (This is not a bug here, it is expected to cause it) + +------------------------------------------------------------------- +Wed Jul 27 09:14:25 UTC 2011 - giecrilj@stegny.2a.pl + +- package clean-up: + - include library version number in the name of the binary package + - add an alias for xsltproc (required by package xmlto) + +------------------------------------------------------------------- +Wed Jul 21 13:11:00 UTC 2010 - puzel@novell.com + +- update to libxslt-1.1.26 + - Improvements: + - Add xsltProcessOneNode to exported symbols for lxml + - Features: + - Add API versioning and various cleanups + - xsl:sort lang support using the locale + - Bug fixes + - Portability, documentation fixes +- drop libxslt-1.1.24-rc4-overflow.patch (included upstream) +- drop libxslt-1.1.24-am.patch (included upstream) + +------------------------------------------------------------------- +Sat Apr 24 11:38:22 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + +------------------------------------------------------------------- +Mon Dec 14 16:19:17 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Sun Jun 21 10:20:38 CEST 2009 - coolo@novell.com + +- fix build with automake 1.11 + +------------------------------------------------------------------- +Fri Feb 13 13:10:20 CET 2009 - coolo@suse.de + +- fix file list + +------------------------------------------------------------------- +Wed Feb 11 14:45:16 CET 2009 - coolo@suse.de + +- readd "la" files to fix libxslt-python build + +------------------------------------------------------------------- +Mon Jan 26 18:18:17 CET 2009 - crrodriguez@suse.de + +- remove useless "la" file +- remove static libraries, if something breaks, move libraries to /%{_lib} + instead of restoring them + +------------------------------------------------------------------- +Wed Dec 10 12:34:56 CET 2008 - olh@suse.de + +- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade + (bnc#437293) + +------------------------------------------------------------------- +Thu Oct 30 12:34:56 CET 2008 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Fri Jul 18 16:09:54 CEST 2008 - prusnak@suse.cz + +- updated to 1.1.24: + * documentation: man page fix + * bug fixes: pattern bug fix, key initialization problems, + exclusion of unknown namespaced element on top of stylesheets + python generator syntactic cleanup +- dropped obsoleted CVE-2008-1767.patch (included in update) +- fixed overflow in RC4 code (rc4-overflow.patch) [bnc#410256] + +------------------------------------------------------------------- +Mon May 19 12:18:36 CEST 2008 - prusnak@suse.cz + +- fixed CVE-2008-1767 (CVE-2008-1767.patch) [bnc#391920] + +------------------------------------------------------------------- +Fri Apr 11 14:38:40 CEST 2008 - prusnak@suse.cz + +- updated to 1.1.23 + * Documentation + fix links for Cygwin DocBook setup (Philippe Bourcier) + - xsltParseStylesheetDoc doc fix (Jason Viers) + - fix manpage default maxdepth value + * Bug fixes: + - python segfault (Daniel Gryniewicz) + - week-in-year bug fix (Maurice van der Pot) + - fix python iterator problem (William Brack) + - avoid garbage collection problems on str:tokenize and str:split + and function results (William Brack and Peter Pawlowski) + - superfluous re-generation of keys (William Brack) + - remove superfluous code in xsltExtInitTest (Tony Graham) + - func:result segfault fix (William Brack) + - timezone offset problem (Peter Pawlowski), + * Portability fixes: + - old gcrypt support fix (Brent Cowgill) + - Python portability patch (Stephane Bidoul) + - VS 2008 fix (Rob Richard) + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Tue Jan 22 12:18:57 CET 2008 - prusnak@suse.cz + +- build --without-python to allow compilation from src.rpm + +------------------------------------------------------------------- +Tue Sep 18 16:21:03 CEST 2007 - sbrabec@suse.cz + +- Updated to version 1.1.22: + * Bug fixes: RVT cleanup problems, exclude-result-prefix bug, + stylesheet compilation error handling, out of memory allocation + errors, namespace problem on compound predicates, python + space/tab inconsistencies, hook xsl:message to per + transformation error callbacks, cached RVT problem, XPath + context maintainance on choose, memory leaks in the math + module, exclude-result-prefix induced namespace problem + * Portability fixes: improve build with VS2005, fixing build on + AIX, fix the security file checks on Windows. ++++ 561 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.2/.libxslt.new/libxslt.changes Old: ---- _link New: ---- baselibs.conf libxslt-1.1.24-linkflags.patch libxslt-1.1.24-no-net-autobuild.patch libxslt-1.1.26.tar.bz2 libxslt-CVE-2012-2825.patch libxslt-config-fixes.patch libxslt-python.changes libxslt-python.spec libxslt.changes libxslt.spec xslt-config.1.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxslt-python.spec ++++++ # # spec file for package libxslt-python # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libxslt-python BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: libxml2-python BuildRequires: python-devel Summary: Python Bindings for libxslt License: MIT Group: Development/Libraries/Python Version: 1.1.26 Release: 0 Source: libxslt-%{version}.tar.bz2 # Uncomment to save space: #NoSource: 0 Patch0: libxslt-1.1.24-linkflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} Url: http://xmlsoft.org/XSLT/ #BuildArch: noarch %description The libxslt-python package contains a module that permits applications written in the Python programming language to use the interface supplied by the libxslt library to apply XSLT transformations. This library allows parsing stylesheets. It uses the libxml2-python to load and save XML and HTML files. Direct access to XPath and the XSLT transformation context are possible. Thus it is possible to extend the XSLT language with XPath functions written in Python. Authors: -------- Daniel Veillard <daniel@veillard.com> %prep %setup -q -n libxslt-%{version} %patch0 %build autoreconf --force --install %configure --with-python --with-pic --disable-static make %{?_smp_mflags} PYTHON_SITE_PACKAGES=%{py_sitedir} pythondir=%{py_sitedir} %install make install PYTHON_SITE_PACKAGES=%{py_sitedir} pythondir=%{py_sitedir} DESTDIR=$RPM_BUILD_ROOT # Unwanted doc stuff rm -fr $RPM_BUILD_ROOT%{_datadir}/doc # #223696 find %{buildroot} -type f -name "*.la" -print -delete # Stuff we won't package rm -rf %{buildroot}/%{_bindir}/* %{buildroot}/%{_libdir}/lib** %{buildroot}/%{_includedir}/* rm -rf %{buildroot}/%{_mandir}/* %{buildroot}/%{_libdir}/pkgconfig/* rm -rf %{buildroot}/%{_libdir}/xsltConf.sh %{buildroot}/%{_datadir}/aclocal/libxslt.m4 %files %defattr(-, root, root) %{py_sitedir}/* %doc python/libxslt-python-api.xml %doc python/tests/*.py %doc python/tests/*.xml %doc python/tests/*.xsl %changelog ++++++ libxslt.spec ++++++ # # spec file for package libxslt # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libxslt Version: 1.1.26 Release: 0 Summary: XSL Transformation Library License: MIT and GPL-2.0+ Group: System/Libraries BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: pkg-config # bug437293 %ifarch ppc64 Obsoletes: libxslt-64bit %endif Url: http://xmlsoft.org/XSLT/ # Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf Source3: xslt-config.1.gz Patch0: %{name}-1.1.24-no-net-autobuild.patch Patch1: libxslt-config-fixes.patch Patch3: libxslt-CVE-2012-2825.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This C library allows you to transform XML files into other XML files (or HTML, text, and more) using the standard XSLT stylesheet transformation mechanism. It is based on libxml (version 2) for XML parsing, tree manipulation, and XPath support. It is written in plain C, making as few assumptions as possible and sticks closely to ANSI C/POSIX for easy embedding. Although not primarily designed with performance in mind, libxslt seems to be a relatively fast processor. It also includes full support for the EXSLT set of extension functions as well as some common extensions present in other XSLT engines. %package -n libxslt1 Summary: XSL Transformation Library License: LGPL-2.1+ Group: System/Libraries %description -n libxslt1 This C library allows you to transform XML files into other XML files (or HTML, text, and more) using the standard XSLT stylesheet transformation mechanism. It is based on libxml (version 2) for XML parsing, tree manipulation, and XPath support. It is written in plain C, making as few assumptions as possible and sticks closely to ANSI C/POSIX for easy embedding. Although not primarily designed with performance in mind, libxslt seems to be a relatively fast processor. It also includes full support for the EXSLT set of extension functions as well as some common extensions present in other XSLT engines. The package comes with xsltproc, a command line interface to the XSLT engine. %package devel Summary: Include Files and Libraries mandatory for Development License: LGPL-2.1+ Group: Development/Libraries/C and C++ # bug437293 %ifarch ppc64 Obsoletes: libxslt-devel-64bit %endif Requires: %name-tools = %version Requires: %{name}1 = %{version} Requires: glibc-devel Requires: libgcrypt-devel Requires: libgpg-error-devel #libxml is automatically required with pkgconfig %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %package tools Summary: Extended Stylesheet Language (XSL) Transformation utilities License: MIT and GPL-2.0+ Group: Development/Tools Provides: xsltproc = %version-%release # O/P added during 12.2 dev: Provides: libxslt = %version-%release Obsoletes: libxslt <= %version-%release %description tools This package contains xsltproc, a command line interface to the XSLT engine. %prep %setup -q %patch0 %patch1 %patch3 -p3 %build autoreconf --force --install %configure --disable-static --with-pic --without-python make %{?_smp_mflags} %check %if ! 0%{?qemu_user_space_build} make check %endif %install %makeinstall # Unwanted doc stuff rm -fr %{buildroot}%{_datadir}/doc # the manual page is required install -ma=r '-t%{buildroot}%{_mandir}/man1' '%{SOURCE3}' #kill all "la" files find %{buildroot} -type f -name "*.la" -print -delete %post -n %{name}1 -p /sbin/ldconfig %postun -n %{name}1 -p /sbin/ldconfig %files -n %{name}1 %defattr(-, root, root) %{_libdir}/lib*.so.* %files devel %defattr(-, root, root) %{_libdir}/lib*.so %{_libdir}/*.sh %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_datadir}/aclocal/* %{_bindir}/xslt-config %doc %{_mandir}/man1/xslt-config.* %doc %{_mandir}/man3/* # not available doc/*.png %doc doc/*.html doc/html doc/tutorial doc/*.gif %files tools %defattr(-,root,root) %doc AUTHORS NEWS README COPYING* Copyright TODO FEATURES %{_bindir}/xsltproc %doc %{_mandir}/man1/xsltproc.* %changelog ++++++ baselibs.conf ++++++ libxslt1 obsoletes "libxslt-<targettype>" libxslt-devel requires -libxslt-<targettype> requires "libxslt1-<targettype> = <version>" obsoletes "libxslt-devel-<targettype> <= <version>" provides "libxslt-devel-<targettype> = <version>" ++++++ libxslt-1.1.24-linkflags.patch ++++++ Index: python/Makefile.am =================================================================== --- python/Makefile.am.orig 2009-05-12 08:29:34.000000000 +0200 +++ python/Makefile.am 2010-07-21 15:22:21.000000000 +0200 @@ -24,7 +24,7 @@ EXTRA_DIST = \ libxslt-python-api.xml \ $(DOCS) -libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version +libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) $(mylibs) -module -avoid-version if WITH_PYTHON mylibs = \ ++++++ libxslt-1.1.24-no-net-autobuild.patch ++++++ --- xsltproc/xsltproc.c +++ xsltproc/xsltproc.c @@ -544,7 +544,7 @@ sec = xsltNewSecurityPrefs(); xsltSetDefaultSecurityPrefs(sec); - defaultEntityLoader = xmlGetExternalEntityLoader(); + defaultEntityLoader = getenv("RPM_PACKAGE_NAME") ? xmlNoNetExternalEntityLoader : xmlGetExternalEntityLoader(); xmlSetExternalEntityLoader(xsltprocExternalEntityLoader); for (i = 1; i < argc; i++) { ++++++ libxslt-CVE-2012-2825.patch ++++++ 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=bb... 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: ++++++ libxslt-config-fixes.patch ++++++ --- xslt-config.in.orig +++ xslt-config.in @@ -89,7 +89,7 @@ while test $# -gt 0; do shift done -the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@" +the_libs="-lxslt" if test "$includedir" != "/usr/include"; then the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`" else --- xsltConf.sh.in.orig +++ xsltConf.sh.in @@ -2,6 +2,6 @@ # Configuration file for using the xslt library # XSLT_LIBDIR="@XSLT_LIBDIR@" -XSLT_LIBS="@XSLT_LIBS@" +XSLT_LIBS="-lxslt" XSLT_INCLUDEDIR="@XSLT_INCLUDEDIR@" MODULE_VERSION="xslt-@VERSION@" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de