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

ITS#5924



Using valgrind, I note few issues

conn=0 op=1 MODRDN dn="olcDatabase={2}bdb,cn=config"
==17038== Thread 3:
==17038== Invalid read of size 1
==17038==    at 0x821D904: lutil_strncopy (utils.c:438)
==17038==    by 0x80A12E6: build_new_dn (dn.c:1172)
==17038==    by 0x80715C1: config_rename_kids (bconfig.c:3816)
==17038==    by 0x80719E1: config_rename_one (bconfig.c:3893)
==17038==    by 0x8071C08: config_renumber_one (bconfig.c:3943)
==17038==    by 0x8073A4C: config_rename_del (bconfig.c:4663)
==17038==    by 0x8075703: config_back_modrdn (bconfig.c:5373)
==17038==    by 0x80A7273: fe_op_modrdn (modrdn.c:314)
==17038==    by 0x80A6BD6: do_modrdn (modrdn.c:186)
==17038==    by 0x8086511: connection_operation (connection.c:1100)
==17038==    by 0x80869EB: connection_read_thread (connection.c:1226)
==17038==    by 0x8224F80: ldap_int_thread_pool_wrapper (tpool.c:663)
==17038==  Address 0x475F140 is 0 bytes inside a block of size 48 free'd
==17038==    at 0x4004FDA: free (vg_replace_malloc.c:233)
==17038==    by 0x825B5A9: ber_memfree_x (memory.c:152)
==17038==    by 0x80A8129: ch_free (ch_malloc.c:139)
==17038==    by 0x8071583: config_rename_kids (bconfig.c:3814)
==17038==    by 0x80719E1: config_rename_one (bconfig.c:3893)
==17038==    by 0x8071C08: config_renumber_one (bconfig.c:3943)
==17038==    by 0x8073A4C: config_rename_del (bconfig.c:4663)
==17038==    by 0x8075703: config_back_modrdn (bconfig.c:5373)
==17038==    by 0x80A7273: fe_op_modrdn (modrdn.c:314)
==17038==    by 0x80A6BD6: do_modrdn (modrdn.c:186)
==17038==    by 0x8086511: connection_operation (connection.c:1100)
==17038==    by 0x80869EB: connection_read_thread (connection.c:1226)
==17038==
==17038== Invalid read of size 1
==17038==    at 0x821D904: lutil_strncopy (utils.c:438)
==17038==    by 0x80A12E6: build_new_dn (dn.c:1172)
==17038==    by 0x80715EE: config_rename_kids (bconfig.c:3818)
==17038==    by 0x80719E1: config_rename_one (bconfig.c:3893)
==17038==    by 0x8071C08: config_renumber_one (bconfig.c:3943)
==17038==    by 0x8073A4C: config_rename_del (bconfig.c:4663)
==17038==    by 0x8075703: config_back_modrdn (bconfig.c:5373)
==17038==    by 0x80A7273: fe_op_modrdn (modrdn.c:314)
==17038==    by 0x80A6BD6: do_modrdn (modrdn.c:186)
==17038==    by 0x8086511: connection_operation (connection.c:1100)
==17038==    by 0x80869EB: connection_read_thread (connection.c:1226)
==17038==    by 0x8224F80: ldap_int_thread_pool_wrapper (tpool.c:663)
==17038==  Address 0x475F1A0 is 0 bytes inside a block of size 48 free'd
==17038==    at 0x4004FDA: free (vg_replace_malloc.c:233)
==17038==    by 0x825B5A9: ber_memfree_x (memory.c:152)
==17038==    by 0x80A8129: ch_free (ch_malloc.c:139)
==17038==    by 0x8071594: config_rename_kids (bconfig.c:3815)
==17038==    by 0x80719E1: config_rename_one (bconfig.c:3893)
==17038==    by 0x8071C08: config_renumber_one (bconfig.c:3943)
==17038==    by 0x8073A4C: config_rename_del (bconfig.c:4663)
==17038==    by 0x8075703: config_back_modrdn (bconfig.c:5373)
==17038==    by 0x80A7273: fe_op_modrdn (modrdn.c:314)
==17038==    by 0x80A6BD6: do_modrdn (modrdn.c:186)
==17038==    by 0x8086511: connection_operation (connection.c:1100)
==17038==    by 0x80869EB: connection_read_thread (connection.c:1226)
conn=0 op=1 RESULT tag=109 err=0 text=

which eventually result in the screwed name of the children entries of 
the renamed database.  I'm investigating...

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------