[xml/sgml-commit] [xmlsec1] 20/32: Imported Debian patch 1.2.18-2

Rene Engelhard rene at moszumanska.debian.org
Sun Jun 25 17:46:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch experimental
in repository xmlsec1.

commit 576973a6736934e18a446e139f8f746938e3d40a
Author: John V. Belmonte <jbelmonte at debian.org>
Date:   Thu Jul 26 21:15:41 2012 -0400

    Imported Debian patch 1.2.18-2
---
 debian/changelog                   |  6 ++++++
 debian/patches/check_version.patch | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e7ea587..53a04a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xmlsec1 (1.2.18-2) unstable; urgency=low
+
+  * Add upstream patch which fixes version check utility function (Bug #675513)
+
+ -- John V. Belmonte <jbelmonte at debian.org>  Thu, 26 Jul 2012 21:15:41 -0400
+
 xmlsec1 (1.2.18-1) unstable; urgency=low
 
   * New upstream release (including CVE-2011-1425, Closes: #604828)
diff --git a/debian/patches/check_version.patch b/debian/patches/check_version.patch
new file mode 100644
index 0000000..4676d18
--- /dev/null
+++ b/debian/patches/check_version.patch
@@ -0,0 +1,16 @@
+# Description: fix version check function
+
+--- a/src/xmlsec.c
++++ b/src/xmlsec.c
+@@ -164,9 +164,9 @@ xmlSecCheckVersionExt(int major, int minor, int subminor, xmlSecCheckVersionMode
+         }
+         break;
+     case xmlSecCheckVersionABICompatible:
+-        if((minor < XMLSEC_VERSION_MINOR) ||
++        if((minor > XMLSEC_VERSION_MINOR) ||
+            ((minor == XMLSEC_VERSION_MINOR) &&
+-            (subminor < XMLSEC_VERSION_SUBMINOR))) {
++            (subminor > XMLSEC_VERSION_SUBMINOR))) {
+             xmlSecError(XMLSEC_ERRORS_HERE,
+                         NULL,
+                         NULL,
diff --git a/debian/patches/series b/debian/patches/series
index fc5c606..b33b40d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 examples_ldlibs.patch
+check_version.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/xmlsec1.git



More information about the debian-xml-sgml-commit mailing list