[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldbmcat bug (ITS#211)
Full_Name: Michael Haardt
Version: 1.2.3
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.97.109.109)
ldbmcat crashes after making a dump with SIGSEGV. The following patch
fixes the problem, but I would appreciate if someone could verify that
it is correct for non db2 libraries. It only *looks* correct to me. :)
--- servers/slapd/tools/ldbmcat.c Wed Jun 23 11:56:53 1999
+++ servers/slapd/tools/ldbmcat.c.orig Wed Jun 23 11:56:19 1999
@@ -89,7 +89,7 @@
last = key;
}
-#ifndef HAVE_BERKELEY_DB2
+#ifdef HAVE_BERKELEY_DB2
if ( last.dptr != NULL )
ldbm_datum_free( dbp, last );
#endif