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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/2012 02:09 PM, h.b.furuseth@usit.uio.no wrote:
> 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

I prepared a patch mentioned in the -devel mailing list for the
remaining issue not yet fixed in master.

- --
Ondrej Kuznik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+Gsb8ACgkQ9GWxeeH+cXvTvgCfeIIljtQv7XahXE9P2aocg+xu
oWoAn0zvQVQ6x3PnL3IhL2SWMo1iSKWo
=NZ52
-----END PGP SIGNATURE-----

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.