# valgrind slaptest ==2812== Memcheck, a memory error detector ==2812== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==2812== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==2812== Command: slaptest ==2812== ==2812== Warning: set address range perms: large range [0x3959d000, 0xb959d000) (defined) ==2812== Invalid write of size 1 ==2812== at 0x4C2953C: strcpy (mc_replace_strmem.c:429) ==2812== by 0x47103B: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== by 0x4160BE: main (in /usr/sbin/slaptest) ==2812== Address 0xc113b37 is 0 bytes after a block of size 71 alloc'd ==2812== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==2812== by 0x50891F4: ber_memalloc_x (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x44B6BA: ch_malloc (in /usr/sbin/slaptest) ==2812== by 0x471008: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== ==2812== Invalid write of size 1 ==2812== at 0x4C29552: strcpy (mc_replace_strmem.c:429) ==2812== by 0x47103B: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== by 0x4160BE: main (in /usr/sbin/slaptest) ==2812== Address 0xc113b38 is 1 bytes after a block of size 71 alloc'd ==2812== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==2812== by 0x50891F4: ber_memalloc_x (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x44B6BA: ch_malloc (in /usr/sbin/slaptest) ==2812== by 0x471008: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== ==2812== Invalid read of size 1 ==2812== at 0x4E5DFAC: ldap_pvt_str2upper (in /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.3) ==2812== by 0x471044: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== by 0x4160BE: main (in /usr/sbin/slaptest) ==2812== Address 0xc113b37 is 0 bytes after a block of size 71 alloc'd ==2812== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==2812== by 0x50891F4: ber_memalloc_x (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x44B6BA: ch_malloc (in /usr/sbin/slaptest) ==2812== by 0x471008: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== ==2812== Invalid write of size 1 ==2812== at 0x4E5DFA6: ldap_pvt_str2upper (in /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.3) ==2812== by 0x471044: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== by 0x4160BE: main (in /usr/sbin/slaptest) ==2812== Address 0xc113b37 is 0 bytes after a block of size 71 alloc'd ==2812== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==2812== by 0x50891F4: ber_memalloc_x (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x44B6BA: ch_malloc (in /usr/sbin/slaptest) ==2812== by 0x471008: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== ==2812== Invalid read of size 1 ==2812== at 0x6FDB9AA: vfprintf (vfprintf.c:1623) ==2812== by 0x7002341: vsnprintf (vsnprintf.c:120) ==2812== by 0x50890A4: lutil_debug (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x4710A9: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== Address 0xc113b37 is 0 bytes after a block of size 71 alloc'd ==2812== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==2812== by 0x50891F4: ber_memalloc_x (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x44B6BA: ch_malloc (in /usr/sbin/slaptest) ==2812== by 0x471008: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== ==2812== Invalid read of size 1 ==2812== at 0x700B120: _IO_default_xsputn (genops.c:480) ==2812== by 0x6FDB872: vfprintf (vfprintf.c:1623) ==2812== by 0x7002341: vsnprintf (vsnprintf.c:120) ==2812== by 0x50890A4: lutil_debug (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x4710A9: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== Address 0xc113b37 is 0 bytes after a block of size 71 alloc'd ==2812== at 0x4C28BED: malloc (vg_replace_malloc.c:263) ==2812== by 0x50891F4: ber_memalloc_x (in /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.3) ==2812== by 0x44B6BA: ch_malloc (in /usr/sbin/slaptest) ==2812== by 0x471008: slap_bv2undef_ad (in /usr/sbin/slaptest) ==2812== by 0xAB0E33B: mdb_ad_read (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0xAAFF3F0: ??? (in /usr/lib/ldap/back_mdb-2.4.so.2.10.3) ==2812== by 0x4974E4: ??? (in /usr/sbin/slaptest) ==2812== by 0x43D396: backend_startup_one (in /usr/sbin/slaptest) ==2812== by 0x43D6CA: backend_startup (in /usr/sbin/slaptest) ==2812== by 0x45C8B0: slap_startup (in /usr/sbin/slaptest) ==2812== by 0x49C51F: slap_tool_init (in /usr/sbin/slaptest) ==2812== by 0x49E6F7: slaptest (in /usr/sbin/slaptest) ==2812== 55ae11bf UNKNOWN attributeDescription "PWDFAILURETIMEX" inserted. 55ae11bf UNKNOWN attributeDescription "PWDACCOUNTLOCKEDTIME" inserted. config file testing succeeded ==2812== Warning: set address range perms: large range [0x3959d000, 0xb959d000) (noaccess) ==2812== ==2812== HEAP SUMMARY: ==2812== in use at exit: 26,258 bytes in 560 blocks ==2812== total heap usage: 52,969 allocs, 52,409 frees, 12,177,747 bytes allocated ==2812== ==2812== LEAK SUMMARY: ==2812== definitely lost: 567 bytes in 6 blocks ==2812== indirectly lost: 4,915 bytes in 138 blocks ==2812== possibly lost: 0 bytes in 0 blocks ==2812== still reachable: 20,776 bytes in 416 blocks ==2812== suppressed: 0 bytes in 0 blocks ==2812== Rerun with --leak-check=full to see details of leaked memory ==2812== ==2812== For counts of detected and suppressed errors, rerun with: -v ==2812== ERROR SUMMARY: 11 errors from 6 contexts (suppressed: 51 from 10)