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

(ITS#7225) back-monitor/ldap crash in test020-proxycache



Full_Name: Hallvard B Furuseth
Version: master, fc1396fa2e94ee2e752fd7c3ea5bb22f6592398a
OS: Linux x86_64
URL: 
Submission from: (NULL) (129.240.203.186)
Submitted by: hallvard


back-ldap:ldap_back_monitor_conn_init() calls
monitor_back_register_entry_attrs(,,,nbase=NULL,,) which crashes at:

1093			if ( !BER_BVISNULL( nbase ) ) {

That checks if nbase->bv_val is NULL, it does not check nbase itself.
Backtrace:

#0 monitor_back_register_entry_attrs (ndn_in=0x1023d50, a=0x1092be8,
            cb=0x10f59b0, nbase=0x0, scope=0, filter=0x0) at init.c:1093
#1 ldap_back_monitor_conn_init (be=0x104d0c0, ms=0x1023d28) at monitor.c:658
#2 monitor_back_db_open (be=0x104d0c0, cr=0x7fff704846e0) at init.c:2365
#3 backend_startup_one (be=0x104d0c0, cr=0x7fff704846e0) at backend.c:224
#4 backend_startup (be=0x104d0c0) at backend.c:325
#5 slap_startup (be=0x0) at init.c:219