From owner-freebsd-security Thu Jul 30 08:02:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12997 for freebsd-security-outgoing; Thu, 30 Jul 1998 08:02:51 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from critter.freebsd.dk ([195.8.135.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA12962 for ; Thu, 30 Jul 1998 08:02:43 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id QAA03715; Thu, 30 Jul 1998 16:43:50 +0200 (CEST) To: Kenneth Ingham cc: Brett Glass , freebsd-security@FreeBSD.ORG Subject: Re: procmail workaround for MIME filename overflow exploit In-reply-to: Your message of "Thu, 30 Jul 1998 08:17:28 MDT." <19980730081728.46269@i-pi.com> Date: Thu, 30 Jul 1998 16:43:50 +0200 Message-ID: <3713.901809830@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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