I think this upstream commit could be a possible candidate to fix that issue :
commit 0659ef45d486b5daaafc020cb67b561a8029036d Author: Howard Chu <h...@openldap.org> Date: Thu Sep 18 00:33:33 2014 +0100 ITS#7941 fix for repeated tags Make sure ntags isn't incremented if we're skippnig the tag diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index 78a8b15..246b900 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -271,6 +271,7 @@ int slap_bv2ad( if( rc == 0 && (unsigned)optlen == tags[i].bv_len ) { /* duplicate (ignore) */ + ntags--; goto done; } else if ( rc > 0 || -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593378 Title: crash in slap_bv2ad using repeated tags To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1593378/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs