From eugen@D00015.dialonly.kemerovo.su  Sat Mar 23 10:11:47 2002
Return-Path: <eugen@D00015.dialonly.kemerovo.su>
Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86])
	by hub.freebsd.org (Postfix) with ESMTP id C3D1D37B404
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Mar 2002 10:11:43 -0800 (PST)
Received: (from eugen@localhost)
	by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) id g2NIBYb00526;
	Sun, 24 Mar 2002 01:11:34 +0700 (KRAT)
	(envelope-from eugen)
Message-Id: <200203231811.g2NIBYb00526@D00015.dialonly.kemerovo.su>
Date: Sun, 24 Mar 2002 01:11:34 +0700 (KRAT)
From: eugen@grosbein.pp.ru
To: freebsd-gnats-submit@FreeBSD.org, eugen@grosbein.pp.ru
Subject: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV

>Number:         36236
>Category:       bin
>Synopsis:       newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 23 10:20:01 PST 2002
>Closed-Date:    Mon Mar 25 16:54:31 PST 2002
>Last-Modified:  Wed Oct 26 05:04:39 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 I've found very simple way to crash /bin/sh. Running this script
 produces segmentation fault of the same nature:
 
 #!/bin/sh
 
 v1=no
 if test $v1 = yes; then
 else
   if test $var; then
     echo OK
   fi
 fi
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Mon Mar 25 16:53:16 PST 2002 
State-Changed-Why:  
Misfiled followup to PR bin/36232. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36235 
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Mon Mar 25 16:53:16 PST 2002 
State-Changed-Why:  
Misfiled followup to PR bin/36232. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36236 
>Unformatted:
