ports/131274: vpopmail + openldap core dump

Suzuki xsuzu at yokohama.riken.jp
Mon Feb 2 04:30:01 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list