Sha256: dea38b3d8cc5ea35ec2eabd4b2f02356253632e63e5f86e3f541f2465e00f96a

Contents?: true

Size: 851 Bytes

Versions: 18

Compression:

Stored size: 851 Bytes

Contents

From 587f0e0133f51f3e09d1166cc0f6b24b50ddb357 Mon Sep 17 00:00:00 2001
From: Daniel Veillard <veillard@redhat.com>
Date: Tue, 27 Oct 2015 10:53:44 +0800
Subject: [PATCH 7/8] Fix an error in previous Conditional section patch

an off by one mistake in the change, led to error on correct
document where the end of the included entity was exactly
the end of the conditional section, leading to regtest failure
---
 parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parser.c b/parser.c
index 0b8d633..0650d2a 100644
--- a/parser.c
+++ b/parser.c
@@ -6905,7 +6905,7 @@ xmlParseConditionalSections(xmlParserCtxtPtr ctxt) {
 				 NULL, NULL);
 	}
 	if ((ctxt-> instate != XML_PARSER_EOF) &&
-	    ((ctxt->input->cur + 3) < ctxt->input->end))
+	    ((ctxt->input->cur + 3) <= ctxt->input->end))
 	    SKIP(3);
     }
 }
-- 
2.5.0

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/nokogiri-1.6.7.1/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.7.2 patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.7.1 patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.7 patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.7.rc4 patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.6.4 ports/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.6.4-java ports/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.6.3 ports/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch
nokogiri-1.6.6.3-java ports/patches/libxml2/0007-Fix-an-error-in-previous-Conditional-section-patch.patch