mrc0mmand / rpms / openldap

Forked from rpms/openldap 3 years ago
Clone

Blame SOURCES/openldap-ITS8240-remove-obsolete-assert.patch

5c2fcb
CVE-2015-6908 openldap: ber_get_next denial of service vulnerability
5c2fcb
Upstream: ITS#8240
5c2fcb
5c2fcb
diff --git a/libraries/liblber/io.c b/libraries/liblber/io.c
5c2fcb
--- a/libraries/liblber/io.c
5c2fcb
+++ b/libraries/liblber/io.c
5c2fcb
@@ -679,7 +679,7 @@ done:
5c2fcb
 		return (ber->ber_tag);
5c2fcb
 	}
5c2fcb
 
5c2fcb
+	/* invalid input */
5c2fcb
-	assert( 0 ); /* ber structure is messed up ?*/
5c2fcb
 	return LBER_DEFAULT;
5c2fcb
 }
5c2fcb