[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8456) slapacl segfaults with mdb if object does not exists



Full_Name: Florian Best
Version: 2.4.42+dfsg-2.210.201511060842
OS: UCS 4.1-2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (82.198.197.8)


Running the following command causes a segfault. There is no object for the DN
provided with "-b".

gdb --args slapacl -D uid=Administator,cn=users,dc=school,dc=local -b
uid=doesnotexists,dc=school,dc=local -d0 -u
jejectClass:univentionAdminUserSettings

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff013fbc8 in mdb_txn_begin () from /usr/lib/ldap/back_mdb.so
(gdb) bt
#0  0x00007ffff013fbc8 in mdb_txn_begin () from /usr/lib/ldap/back_mdb.so
#1  0x00007ffff3a3a8d0 in mdb_opinfo_get () from /usr/lib/ldap/back_mdb.so
#2  0x00007ffff013aac6 in mdb_entry_get () from /usr/lib/ldap/back_mdb.so
#3  0x0000000000498267 in overlay_entry_get_ov ()
#4  0x00000000004982e7 in ?? ()
#5  0x000000000043f236 in fe_acl_group %)%9
#6  0x000000000043cd28 in backend_group ()
#7  0x0000000000453d9c in slap_access_allowed ()
#8  0x00000000004980cd in ?? ()
#9  0x0000000000450d8c in access_allowed_mask ()
#10 0x000000000049f793 in slapacl ()
#11 0x00000000004160bf in main ()