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

(ITS#3922) Syncrepl is leaking ctxcsn from slap_parse_sync_cookie()



Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux (irrelevant)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.72.89.40)
Submitted by: ando


>From valgrind (run test017; restart slapd with file slapd.2.conf and stop it).

==29835== 259 bytes in 7 blocks are definitely lost in loss record 8 of 12
==29835==    at 0x1B90354C: malloc (vg_replace_malloc.c:130)
==29835==    by 0x821213B: ber_memalloc_x (memory.c:234)
==29835==    by 0x82129F1: ber_str2bv_x (memory.c:575)
==29835==    by 0x8212AC2: ber_str2bv (memory.c:595)
==29835==    by 0x80E1508: slap_parse_sync_cookie (ldapsync.c:128)
==29835==    by 0x81B6A50: syncprov_parseCtrl (syncprov.c:2368)
==29835==    by 0x80AD68F: slap_parse_ctrl (controls.c:513)
==29835==    by 0x80ADE43: get_ctrls (controls.c:682)
==29835==    by 0x807B11C: do_search (search.c:162)
==29835==    by 0x8078D00: connection_operation (connection.c:1049)