Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 1998 16:43:50 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Kenneth Ingham <ingham@i-pi.com>
Cc:        Brett Glass <brett@lariat.org>, freebsd-security@FreeBSD.ORG
Subject:   Re: procmail workaround for MIME filename overflow exploit 
Message-ID:  <3713.901809830@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 30 Jul 1998 08:17:28 MDT." <19980730081728.46269@i-pi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19980730081728.46269@i-pi.com>, Kenneth Ingham writes:
>I've got one problem with using procmail to solve the MIME problem.
>My users regularly send each other >5MB email messages.  When I
>was using procmail as the local delivery agent, it died on large
>messages, sometimes taking all the swap space on the machine (284MB)
>with it.  Changing back to the standard local mail delivery agent
>solved the problems.

procmail realloc(3)'s memory in a truly stupid way: it reallocs
the same chunk over and over again, in 16k size increments.  This
is stupid.  It should double the size everytime.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe security" in the body of the message



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