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

(ITS#7000) Slapd crashed during modrdn in syncrepl



Full_Name: Ted C. Cheng
Version: trunk
OS: RHEL 5 x86_64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (123.194.135.105)



2655 static int
2656 syncrepl_entry(
2657         syncinfo_t* si,
   ?.
3082 retry_modrdn:;
3083      rs_reinit( &rs_modify, REP_RESULT );
3084      rc = op->o_bd->be_modrdn( op, &rs_modify );
3085 
3086      /* NOTE: noSuchObject should result because the new superior
3087       * has not been added yet (ITS#6472) */
#ifdef SLAPD_CRASHED_MODRDN_SYNCREPL
3088      if ( rc == LDAP_NO_SUCH_OBJECT && !BER_BVISNULL( op->orr_nnewSup )) {
#else /* fix */
3088      if ( rc == LDAP_NO_SUCH_OBJECT && (op->orr_nnewSup != NULL ) && 
               !BER_BVISNULL( op->orr_nnewSup )) {
#endif /* SLAPD_CRASHED_MODRDN_SYNCREPL */ 
3089        Operation op2 = *op;