From gnat@frii.com  Thu Oct 16 14:43:00 1997
Received: from ganymede.frii.com (ganymede.frii.com [208.146.240.5])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA26542
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Oct 1997 14:42:51 -0700 (PDT)
          (envelope-from gnat@frii.com)
Received: from elara.frii.com (elara.frii.com [208.146.240.9]) by ganymede.frii.com (8.8.5/8.8.4) with ESMTP id PAA15505 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Oct 1997 15:41:38 -0600 (MDT)
Received: (from gnat@localhost) by elara.frii.com (8.8.5/8.6.9) id PAA06017; Thu, 16 Oct 1997 15:40:19 -0600 (MDT)
Message-Id: <199710162140.PAA06017@elara.frii.com>
Date: Thu, 16 Oct 1997 15:40:19 -0600 (MDT)
From: Nathan Torkington <gnat@frii.com>
Reply-To: gnat@frii.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: make dumps core on some incorrectly formatted makefiles
X-Send-Pr-Version: 3.2

>Number:         4783
>Category:       bin
>Synopsis:       make dumps core on some incorrectly formatted makefiles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 16 14:50:01 PDT 1997
>Closed-Date:    Sun Apr 26 02:45:47 PDT 1998
>Last-Modified:  Sun Apr 26 02:45:59 PDT 1998
>Originator:     Nathan Torkington
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
Interchangeable Antipodeans, Inc.
>Environment:

	FreeBSD 2.2-STABLE on i386 machine (does it on all 2.2-STABLE
	boxes I have access to)

>Description:

	I have a Makefile which has 8 spaces instead of the leading
	tab (yes, I know that makes it incorrect).  Instead of gracefully
	aborting, it looks like a buffer is being overflowed and
	make is coredumping.

>How-To-Repeat:

Use the Makefile in
http://www.best.com/~mcravit/pilot/HelloWorld.tar.gz (you don't need
any other software -- make vomits before it starts running external
commands).

>Fix:
	
I haven't looked at the source to make nor made a patch.

>Release-Note:
>Audit-Trail:

From: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc: gnat@frii.com
Subject: Re: bin/4783: make dumps core on some incorrectly formatted makefiles 
Date: Fri, 17 Oct 1997 03:46:12 +0400

 Nathan Torkington wrote:
 > >Synopsis:       make dumps core on some incorrectly formatted makefiles
 > 
 > >Description:
 > 
 > 	I have a Makefile which has 8 spaces instead of the leading
 > 	tab (yes, I know that makes it incorrect).  Instead of gracefully
 > 	aborting, it looks like a buffer is being overflowed and
 > 	make is coredumping.
 > 
 
 I am pretty sure that this is duplicate for PR bin/4254. If so, this is at 
 least 3rd PR on this topic (second is bin/4692).
 
 PR 4254 contains a patch. I run the patched make for more than 2 months
 now. In particular, I did 'make world' several times. Dear committers! Could 
 somebody please commit the patch? 
 
 Dima
 
 
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sun Apr 26 02:45:47 PDT 1998 
State-Changed-Why:  
pressumed fixed by 4254 

>Unformatted:
