Bug 41751 - SIGSEGV in mail500 client
Summary: SIGSEGV in mail500 client
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openldap
Version: 7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-21 23:43 UTC by Jules Agee
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-05-21 23:43:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Jules Agee 2001-05-21 23:43:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)

Description of problem:
When mail500 is exec'd with the debug option turned on (-d1), if it
receives a request to expand a large LDAP mailing list it will overrun the
debug output buffer.

static void
send_message( char **to )
{
        int     pid;
#ifndef HAVE_WAITPID
        WAITSTATUSTYPE  status;
#endif

        if ( debug ) {
                char    buf[1024];

I upped the buf array size to 20480 and it works fine for me. This might
not be big enough for users with very large mailing lists. malloc?

How reproducible:
Always

Steps to Reproduce:
1. Set up an LDAP server with a mailing list > 100 members
2. Set up mail500 as a Sendmail delivery agent with debug on
3. Send an email to the large mailing list
	

Actual Results:  Sendmail: mailer mail500 died with signal 11
The message is delivered to all recipients, but because of the segfault
Sendmail marks the delivery as unsuccessful, and queues the message. As a
result, the message is sent over and over again to everyone in the list.

Expected Results:  message should be delivered only once to all members of
the group.

Additional info:

Comment 1 Nalin Dahyabhai 2001-07-03 20:39:43 UTC
This will be resolved in openldap-2.0.11-5.  Thanks!


Note You need to log in before you can comment on or make changes to this bug.