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

Re: (ITS#5348) slapcat on 2.3.38 to slapadd on 2.4.7 causes abort.



Pierangelo Masarati writes:
> Well, AFAIR, normalize should be called AFTER validate; and validate
> should reject that CSN.  The assert() was to make sure that, during
> development, normalize was not called with invalid data.  I'm looking at
> that.

Sounds like we need a macro a la

#ifdef LDAP_DEVEL /* for tested non-release versions */
#define ASSERT_DEVEL assert
#else
#define ASSERT_DEVEL(expr) ((void)0)
#endif

-- 
Hallvard