NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/53712: /bin/sh crashes on syntax error



The following reply was made to PR bin/53712; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/53712: /bin/sh crashes on syntax error
Date: Fri, 09 Nov 2018 08:33:06 +0700

 Actually, it is because (in sh) we do not treat  { } as a syntax error 
 (unless -o posix is set) that there ios a problem.
 
 That is, "./sh -o posix -c '{ } > out' gives a syntax error, and no crash.
 
 Fix is currently being tested.
 
 kre
 


Home | Main Index | Thread Index | Old Index