[Pkg-openldap-devel] [openldap] 01/01: Import ITS#8240 patch

Luca Bruno lucab at moszumanska.debian.org
Fri Sep 11 08:44:37 UTC 2015


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

lucab pushed a commit to branch wheezy
in repository openldap.

commit 36ea00fb82d69b8bb38a341283de4f714979e768
Author: Luca Bruno <lucab at debian.org>
Date:   Fri Sep 11 10:44:03 2015 +0200

    Import ITS#8240 patch
---
 debian/changelog                                   |  9 ++++++++
 .../patches/ITS8240-remove-obsolete-assert.patch   | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 35 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cc357fe..ce22646 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+openldap (2.4.31-2+deb7u1) UNRELEASED; urgency=high
+
+  * Team upload.
+  * Import upstream patch to remove an unnecessary assert(0) that could be
+    triggered remotely by an unauthenticated user by sending a malformed
+    BER element. (ITS#8240) (Closes: #798622)
+
+ -- Luca Bruno <lucab at debian.org>  Fri, 11 Sep 2015 10:39:46 +0200
+
 openldap (2.4.31-2) wheezy-security; urgency=high
 
   * Team upload.
diff --git a/debian/patches/ITS8240-remove-obsolete-assert.patch b/debian/patches/ITS8240-remove-obsolete-assert.patch
new file mode 100644
index 0000000..97bf6d7
--- /dev/null
+++ b/debian/patches/ITS8240-remove-obsolete-assert.patch
@@ -0,0 +1,25 @@
+From 6fe51a9ab04fd28bbc171da3cf12f1c1040d6629 Mon Sep 17 00:00:00 2001
+From: Howard Chu <hyc at openldap.org>
+Date: Thu, 10 Sep 2015 00:37:32 +0100
+Subject: [PATCH] ITS#8240 remove obsolete assert
+
+---
+ libraries/liblber/io.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libraries/liblber/io.c b/libraries/liblber/io.c
+index 85c3e23..c05dcf8 100644
+--- a/libraries/liblber/io.c
++++ b/libraries/liblber/io.c
+@@ -679,7 +679,7 @@ done:
+ 		return (ber->ber_tag);
+ 	}
+ 
+-	assert( 0 ); /* ber structure is messed up ?*/
++	/* invalid input */
+ 	return LBER_DEFAULT;
+ }
+ 
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 1b4caf9..d40c06c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -22,3 +22,4 @@ heimdal-fix
 bdb-deadlock.patch
 ITS8027-deref-reject-empty-attr-list.patch
 ITS7723-fix-reference-counting.patch
+ITS8240-remove-obsolete-assert.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list