From owner-freebsd-hackers Sat Oct 10 12:07:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16925 for freebsd-hackers-outgoing; Sat, 10 Oct 1998 12:07:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16908 for ; Sat, 10 Oct 1998 12:07:16 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA15034; Sat, 10 Oct 1998 12:07:06 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma015032; Sat Oct 10 12:07:03 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA09242; Sat, 10 Oct 1998 12:07:02 -0700 (PDT) From: Archie Cobbs Message-Id: <199810101907.MAA09242@bubba.whistle.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <199810100938.CAA04559@dingo.cdrom.com> from Mike Smith at "Oct 10, 98 02:38:00 am" To: mike@smith.net.au (Mike Smith) Date: Sat, 10 Oct 1998 12:07:02 -0700 (PDT) Cc: zach@gaffaneys.com, Studded@gorean.org, mike@smith.net.au, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith writes: > > > The culprit would seem to be one or more of: > > > char tempMail[24]; > > > char tempQuit[24]; > > > char tempEdit[24]; > > > char tempResid[24]; > > > char tempMesg[24]; > > I'd have to concur; these should all be MAXPATHLEN. > > When you try increasing these, you should be able to un-staticise > 'msgvec' in lex.c and have it still work like it should. And while you're at it, use snprintf() instead of strcat or whatever. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message