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

ldbmcat dumps core (ITS#82)



Full_Name: Jean-Marie Kubek
Version: openldap-1.2
OS: linux debian 2.0
URL: 
Submission from: (NULL) (195.83.9.35)


ldbmcat dumps core (SIGSEGV) when trying to free memory.
The 'ldbm_datum_free( dbp, last )' statement  near line 62 of ldbmcat.c
seems to trigger the fault.

I have not the time to investigate but it seems that :
	1- It is impossible to retrieve the data associated to
 	    the key returned from 'ldbm_firstkey( dbp, &cursorp )'
        2- This key and the data are valid in the function  definition
	of ldbm_firstkey( ) (file libraries/libldbm/libldm.c)

J.-M. Kubek
INSA Toulouse