Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2009 04:28:23 GMT
From:      Suzuki <xsuzu@yokohama.riken.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131274: vpopmail + openldap core dump
Message-ID:  <200902020428.n124SNEW081050@www.freebsd.org>
Resent-Message-ID: <200902020430.n124U0o6038661@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         131274
>Category:       ports
>Synopsis:       vpopmail + openldap core dump
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 02 04:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Suzuki
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD se-mail.yokohama.riken.go.jp 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

vpopmail-5.4.26_1
openldap-sasl-server-2.4.13
qmail-1.03_7
>Description:
qmail + vpopmail + openldap 
core dump by the addition of the virtual domain
>How-To-Repeat:
vpopmail compile option:
 WITHOUT_FILE_LOCKING=yes WITH_LDAP=yes WITH_SMTP_AUTH_PATCH=yes  WITH_LDAP_SASL=yes WITH_DEBUG=yes WITHOUT_CRAM_MD5=yes


> sudo vadddomain mydomain.dom
>Fix:
--- vldap.c.orig        2008-12-08 16:32:34.000000000 +0900
+++ vldap.c     2008-12-08 16:49:00.000000000 +0900
@@ -661,10 +691,10 @@
         }
     }

-    lm = (LDAPMod **)safe_malloc(sizeof(LDAPMod *) * 2);
+    lm = (LDAPMod **)safe_malloc(sizeof(LDAPMod *) * 3);

     lm[0] = (LDAPMod *)safe_malloc(sizeof(LDAPMod));

     lm[1] = (LDAPMod *)safe_malloc(sizeof(LDAPMod));
     lm[2] = NULL;

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902020428.n124SNEW081050>