[Pkg-freeipa-devel] [Git][freeipa-team/bind-dyndb-ldap][master] 2 commits: use-correct-dn-value.diff: Fix ftbfs with gcc9. (Closes: #925639)

Timo Aaltonen gitlab at salsa.debian.org
Thu Aug 15 18:12:42 BST 2019



Timo Aaltonen pushed to branch master at FreeIPA packaging / bind-dyndb-ldap


Commits:
9f8e5d76 by Timo Aaltonen at 2019-08-15T16:38:04Z
use-correct-dn-value.diff: Fix ftbfs with gcc9. (Closes: #925639)

- - - - -
46e1f9bf by Timo Aaltonen at 2019-08-15T16:39:25Z
releasing package bind-dyndb-ldap version 11.1-6

- - - - -


3 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/use-correct-dn-value.diff


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+bind-dyndb-ldap (11.1-6) unstable; urgency=medium
+
+  * use-correct-dn-value.diff: Fix ftbfs with gcc9. (Closes: #925639)
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Thu, 15 Aug 2019 19:39:12 +0300
+
 bind-dyndb-ldap (11.1-5) unstable; urgency=medium
 
   [ Peter Michael Green ]


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ fix-werror-build.diff
 add-empty-fallback.diff
 0003-Support-for-BIND-9.11.3.patch
 add-int.h-include.diff
+use-correct-dn-value.diff


=====================================
debian/patches/use-correct-dn-value.diff
=====================================
@@ -0,0 +1,32 @@
+commit d69150691983f7f1efaa078549cd80a14afb76cb
+Author: Petr Menšík <pemensik at redhat.com>
+Date:   Mon Jan 28 00:31:25 2019 +0100
+
+    Use correct dn value
+    
+    New GCC correctly reports error, NULL is always passed in case of
+    invalid objectclass.
+    
+    Signed-off-by: Petr Menšík <pemensik at redhat.com>
+
+diff --git a/src/ldap_helper.c b/src/ldap_helper.c
+index ac8ce6e..8b486ae 100644
+--- a/src/ldap_helper.c
++++ b/src/ldap_helper.c
+@@ -4102,7 +4102,6 @@ syncrepl_update(ldap_instance_t *inst, ldap_entry_t **entryp, int chgtype)
+ 	ldap_entry_t *entry = NULL;
+ 	dns_name_t *zone_name = NULL;
+ 	dns_zone_t *zone_ptr = NULL;
+-	char *dn = NULL;
+ 	isc_taskaction_t action = NULL;
+ 	isc_task_t *task = NULL;
+ 	isc_boolean_t synchronous;
+@@ -4156,7 +4155,7 @@ syncrepl_update(ldap_instance_t *inst, ldap_entry_t **entryp, int chgtype)
+ 	else if ((entry->class & LDAP_ENTRYCLASS_RR) != 0)
+ 		action = update_record;
+ 	else {
+-		log_error("unsupported objectClass: dn '%s'", dn);
++		log_error("unsupported objectClass: dn '%s'", entry->dn);
+ 		result = ISC_R_NOTIMPLEMENTED;
+ 		goto cleanup;
+ 	}



View it on GitLab: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/compare/65d0b6e423d67ae326ba8e074aa2e32aa9f3dbb4...46e1f9bf3c4ee33b22b1d0c5a9471d1227a009b4

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/bind-dyndb-ldap/compare/65d0b6e423d67ae326ba8e074aa2e32aa9f3dbb4...46e1f9bf3c4ee33b22b1d0c5a9471d1227a009b4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20190815/229d0f36/attachment-0001.html>


More information about the Pkg-freeipa-devel mailing list