Date: Sat, 10 Oct 1998 12:07:02 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: mike@smith.net.au (Mike Smith) Cc: zach@gaffaneys.com, Studded@gorean.org, mike@smith.net.au, archie@whistle.com, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. Message-ID: <199810101907.MAA09242@bubba.whistle.com> In-Reply-To: <199810100938.CAA04559@dingo.cdrom.com> from Mike Smith at "Oct 10, 98 02:38:00 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810101907.MAA09242>