2.0131 bump
This commit is contained in:
parent
83bc60baa9
commit
a448676cb8
1
.gitignore
vendored
1
.gitignore
vendored
@ -47,3 +47,4 @@ XML-LibXML-1.70.tar.gz
|
|||||||
/XML-LibXML-2.0128.tar.gz
|
/XML-LibXML-2.0128.tar.gz
|
||||||
/XML-LibXML-2.0129.tar.gz
|
/XML-LibXML-2.0129.tar.gz
|
||||||
/XML-LibXML-2.0130.tar.gz
|
/XML-LibXML-2.0130.tar.gz
|
||||||
|
/XML-LibXML-2.0131.tar.gz
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
diff -urN XML-LibXML-2.0129.orig/LibXML.xs XML-LibXML-2.0129/LibXML.xs
|
|
||||||
--- XML-LibXML-2.0129.orig/LibXML.xs 2016-06-24 18:01:53.000000000 +0200
|
|
||||||
+++ XML-LibXML-2.0129/LibXML.xs 2017-07-13 12:41:48.000000000 +0200
|
|
||||||
@@ -4829,38 +4829,42 @@
|
|
||||||
PREINIT:
|
|
||||||
xmlNodePtr ret = NULL;
|
|
||||||
CODE:
|
|
||||||
- if ( self->type == XML_DOCUMENT_NODE ) {
|
|
||||||
- switch ( nNode->type ) {
|
|
||||||
- case XML_ELEMENT_NODE:
|
|
||||||
- warn("replaceChild with an element on a document node not supported yet!");
|
|
||||||
- XSRETURN_UNDEF;
|
|
||||||
- break;
|
|
||||||
- case XML_DOCUMENT_FRAG_NODE:
|
|
||||||
- warn("replaceChild with a document fragment node on a document node not supported yet!");
|
|
||||||
- XSRETURN_UNDEF;
|
|
||||||
- break;
|
|
||||||
- case XML_TEXT_NODE:
|
|
||||||
- case XML_CDATA_SECTION_NODE:
|
|
||||||
- warn("replaceChild with a text node not supported on a document node!");
|
|
||||||
- XSRETURN_UNDEF;
|
|
||||||
- break;
|
|
||||||
- default:
|
|
||||||
- break;
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
- ret = domReplaceChild( self, nNode, oNode );
|
|
||||||
- if (ret == NULL) {
|
|
||||||
- XSRETURN_UNDEF;
|
|
||||||
- }
|
|
||||||
- else {
|
|
||||||
- LibXML_reparent_removed_node(ret);
|
|
||||||
- RETVAL = PmmNodeToSv(ret, PmmOWNERPO(PmmPROXYNODE(ret)));
|
|
||||||
- if (nNode->type == XML_DTD_NODE) {
|
|
||||||
- LibXML_set_int_subset(nNode->doc, nNode);
|
|
||||||
+ if( nNode == oNode ) {
|
|
||||||
+ RETVAL = nNode;
|
|
||||||
+ }else{
|
|
||||||
+ if ( self->type == XML_DOCUMENT_NODE ) {
|
|
||||||
+ switch ( nNode->type ) {
|
|
||||||
+ case XML_ELEMENT_NODE:
|
|
||||||
+ warn("replaceChild with an element on a document node not supported yet!");
|
|
||||||
+ XSRETURN_UNDEF;
|
|
||||||
+ break;
|
|
||||||
+ case XML_DOCUMENT_FRAG_NODE:
|
|
||||||
+ warn("replaceChild with a document fragment node on a document node not supported yet!");
|
|
||||||
+ XSRETURN_UNDEF;
|
|
||||||
+ break;
|
|
||||||
+ case XML_TEXT_NODE:
|
|
||||||
+ case XML_CDATA_SECTION_NODE:
|
|
||||||
+ warn("replaceChild with a text node not supported on a document node!");
|
|
||||||
+ XSRETURN_UNDEF;
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
- if ( nNode->_private != NULL ) {
|
|
||||||
- PmmFixOwner( PmmPROXYNODE(nNode),
|
|
||||||
- PmmOWNERPO(PmmPROXYNODE(self)) );
|
|
||||||
+ ret = domReplaceChild( self, nNode, oNode );
|
|
||||||
+ if (ret == NULL) {
|
|
||||||
+ XSRETURN_UNDEF;
|
|
||||||
+ }
|
|
||||||
+ else {
|
|
||||||
+ LibXML_reparent_removed_node(ret);
|
|
||||||
+ RETVAL = PmmNodeToSv(ret, PmmOWNERPO(PmmPROXYNODE(ret)));
|
|
||||||
+ if (nNode->type == XML_DTD_NODE) {
|
|
||||||
+ LibXML_set_int_subset(nNode->doc, nNode);
|
|
||||||
+ }
|
|
||||||
+ if ( nNode->_private != NULL ) {
|
|
||||||
+ PmmFixOwner( PmmPROXYNODE(nNode),
|
|
||||||
+ PmmOWNERPO(PmmPROXYNODE(self)) );
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
OUTPUT:
|
|
@ -7,7 +7,7 @@ Name: perl-XML-LibXML
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=469480
|
# https://bugzilla.redhat.com/show_bug.cgi?id=469480
|
||||||
# it might not be needed anymore
|
# it might not be needed anymore
|
||||||
# this module is maintained, the other is not
|
# this module is maintained, the other is not
|
||||||
Version: 2.0130
|
Version: 2.0131
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Perl interface to the libxml2 library
|
Summary: Perl interface to the libxml2 library
|
||||||
@ -15,9 +15,6 @@ Group: Development/Libraries
|
|||||||
License: (GPL+ or Artistic) and MIT
|
License: (GPL+ or Artistic) and MIT
|
||||||
URL: http://search.cpan.org/dist/XML-LibXML/
|
URL: http://search.cpan.org/dist/XML-LibXML/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz
|
||||||
# Fix CVE-2017-10672 (use-after-free by controlling the arguments to
|
|
||||||
# a replaceChild call), bug #1470205
|
|
||||||
Patch0: XML-LibXML-2.0129-CVE-2017-10672.patch
|
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: glibc-common
|
BuildRequires: glibc-common
|
||||||
@ -96,7 +93,6 @@ validating XML parser and the high performance DOM implementation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n XML-LibXML-%{version}
|
%setup -q -n XML-LibXML-%{version}
|
||||||
%patch0 -p1
|
|
||||||
chmod -x *.c
|
chmod -x *.c
|
||||||
for i in Changes; do
|
for i in Changes; do
|
||||||
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
||||||
@ -140,6 +136,9 @@ fi
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 25 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.0131-1
|
||||||
|
- 2.0131 bump
|
||||||
|
|
||||||
* Thu Oct 19 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.0130-1
|
* Thu Oct 19 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.0130-1
|
||||||
- 2.0130 bump
|
- 2.0130 bump
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (XML-LibXML-2.0130.tar.gz) = 43d6a62021b7a2e9efddaa6c238a873ce4f7fb43ca2985e8ead8a0cab3a54d4efd764cbd027bd4b235b4ad9b525ad075607ef4d08a42839b054715a7f55dcd16
|
SHA512 (XML-LibXML-2.0131.tar.gz) = 0e077c278aaeac495f3bf474b610af19377dbe00791157184a83c89905bbfae814fab300323a363902c6507e495cdaa22f55d95b3da42ed22bdf05f15248343f
|
||||||
|
Loading…
Reference in New Issue
Block a user