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

(ITS#3914) test030-relay frees already-freed memory

Full_Name: Hallvard B Furuseth
Version: HEAD
OS: Linux
Submission from: (NULL) (
Submitted by: hallvard

In test030-relay with ldbm,
Slapd frees already-freed memory (a bv_val of DN from ldap_dn2bv):
        slap_sl_free   [sl_malloc.c:430]
        do_compare     [compare.c:124]
        connection_operation [connection.c:1049]
This block was allocated from:
        ber_memalloc_x [memory.c:237]
        ldap_dn2bv_x   [getdn.c:3035]
        dnNormalize    [dn.c:603]
        asserted_value_validate_normalize [value.c:166]
        do_compare     [compare.c:106]
        connection_operation [connection.c:1049]
There have been 6 frees since this block was freed from:
        ch_free        [ch_malloc.c:138]
        rwm_dnattr_rewrite [rwmmap.c:1049]
        rwm_op_compare [rwm.c:362]
        overlay_op_walk [backover.c:480]
        over_op_func   [backover.c:540]
        over_op_compare [backover.c:568]
        fe_op_compare  [compare.c:324]
        do_compare     [compare.c:118]
        connection_operation [connection.c:1049]