Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
Heads up - bug in Listserv/Sendmail patch...
From:
Valdis Kletnieks <[log in to unmask]>
Reply To:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Wed, 21 Jun 2000 10:39:58 -0400
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (880 bytes) , listserv.probe1 (1520 bytes) , text/plain (148 bytes) , application/pgp-signature (217 bytes)
Man, I thought I checked that code.. ;)

Irelann Kerry Anderson of U of Maine spotted a bug in the Probe patch, that
could cause an off-the-end error on a string leading to a SEGV.  While
double checking that, I found that another buffer size was also incorrect,
causing another possible SEGV source.

A corrected patch for Sendmail 8.10.1 is attached.  For Sendmail 8.9.3,
the fix is similar:

1) Change the line (near line 110 in sendmail/alias.c):
                lbuf = xalloc(lbuflen);
to:
                lbuf = xalloc(lbuflen + 1);

2) Change the line (near line 61 in sendmail/alias.c)
          char lbuf2[MAXNAME + 7];
to:
                char lbuf2[MAXNAME + 30];

If you're running something older than Sendmail 8.9.3, you probably have
bigger problems... ;)

The amazing thing is the bug has been there since the Sendmail 8.8.4 version,
and I've ported it forward all along without noticing...



                                Valdis Kletnieks                                 Operating Systems Analyst                                 Virginia Tech

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV