From owner-freebsd-bugs Fri Dec 4 06:07:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA03543 for freebsd-bugs-outgoing; Fri, 4 Dec 1998 06:07:59 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from ozone.fmi.fi (ozone.fmi.fi [193.166.223.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA03533 for ; Fri, 4 Dec 1998 06:07:53 -0800 (PST) (envelope-from hurtta@ozone.fmi.fi) Received: (from hurtta@localhost) by ozone.fmi.fi (8.9.2.Alpha2/8.9.2.Alpha2/test/1998-04-28) id QAA08065; Fri, 4 Dec 1998 16:01:06 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199812041401.QAA08065@ozone.fmi.fi> Subject: Re: [BUG ?] Segment Violation signal! In-Reply-To: <199812041356.HAA18428@home.dragondata.com> from Kevin Day at "Dec 4, 1998 07:56:34 am" To: toasty@home.dragondata.com (Kevin Day) Date: Fri, 4 Dec 1998 16:01:06 +0200 (EET) Cc: hurtta+elm@ozone.fmi.fi, yk@info.dgtu.donetsk.ua, freebsd-bugs@FreeBSD.ORG Reply-To: hurtta+elm@ozone.fmi.fi X-Mailer: ELM [version 2.4ME+ PL50+ (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kevin Day: > > Kevin Day: > > > > > > To add to this... Just receiving your message crashed my elm. :) > > > > Decoding on encoding someway corrupt memory: > > > > I just received this response from the elm author: > > > > Subject: Re: Elm crash bug > To: toasty@home.dragondata.com (Kevin Day) > Date: Fri, 4 Dec 1998 08:51:18 -0500 (EST) > Reply-To: syd@myxa.com > > well known, elm uses fixed length buffers, that is why we wanted a > rewrite of the base elm code, which won't happen, this bug will probably > never be fixed. That is readon, why I have on my ME+ code bound checking when writing buffers. But there of course may be some places which I have missed... (just replacing strcpy:s, strcat:s and sprintf:s is not enough.) Note that that crash did not occured on official elm, but on my ME+ version. In officail version do not even have that mime decoding code... / Kari Hurtta To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message