[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5898) test044 abort with back-ldif
Full_Name: Quanah Gibson-Mount
Version: HEAD
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)
When using the back-ldif backend with test044, it aborts:
Program terminated with signal 6, Aborted.
(gdb) bt
#0 0x000000395e030155 in raise () from /lib64/libc.so.6
#1 0x000000395e031bf0 in abort () from /lib64/libc.so.6
#2 0x000000395e0295d6 in __assert_fail () from /lib64/libc.so.6
#3 0x0000000000438a3b in entry2str (e=0x1e88, len=0x438a49) at entry.c:452
#4 0x0000000004fe9748 in ?? ()
#5 0x0000000000000000 in ?? ()
(gdb) frame 3
#3 0x0000000000438a3b in entry2str (e=0x1e88, len=0x438a49) at entry.c:452
452 tmplen = e->e_name.bv_len;
(gdb) l
447 ecur = ebuf;
448
449 /* put the dn */
450 if ( e->e_dn != NULL ) {
451 /* put "dn: <dn>" */
452 tmplen = e->e_name.bv_len;
453 MAKE_SPACE( LDIF_SIZE_NEEDED( 2, tmplen ));
454 ldif_sput( &ecur, LDIF_PUT_VALUE, "dn", e->e_dn, tmplen
);
455 }
456