From: Quanah Gibson-Mount Date: Tue, 29 Sep 2009 23:52:13 +0000 (+0000) Subject: ITS#6279 X-Git-Tag: OPENLDAP_REL_ENG_2_4_19~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46d73bceb39df1530a2f056cd0ddb0cdee91f601;p=openldap ITS#6279 --- diff --git a/CHANGES b/CHANGES index 888dc5f39a..3c4b0513cc 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ OpenLDAP 2.4.19 Engineering Fixed slapo-pcache cache corruption (ITS#6242) Fixed slapo-sssvlv sort control dereferencing (ITS#6288) Fixed contrib/nssov getgroupbymembers (ITS#6291) + Fixed contrib/autogroup segfaults (ITS#6279) OpenLDAP 2.4.18 Release (2009/09/06) Fixed client tools common options (ITS#6049) diff --git a/contrib/slapd-modules/autogroup/autogroup.c b/contrib/slapd-modules/autogroup/autogroup.c index 242a214880..4155121688 100644 --- a/contrib/slapd-modules/autogroup/autogroup.c +++ b/contrib/slapd-modules/autogroup/autogroup.c @@ -1452,6 +1452,10 @@ autogroup_db_open( Debug( LDAP_DEBUG_TRACE, "==> autogroup_db_open\n", 0, 0, 0); + if ( agi == NULL ) { + return 0; + } + connection_fake_init( &conn, &opbuf, thrctx ); op = &opbuf.ob_op;