NetBSD-Bugs archive

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

Re: bin/55979 (sh single quotes removes nul characters)



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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
        jtunney%gmail.com@localhost
Subject: Re: bin/55979 (sh single quotes removes nul characters)
Date: Sun, 07 Feb 2021 18:15:03 +0700

     Date:        Sat, 6 Feb 2021 21:13:47 -0500
     From:        Christos Zoulas <christos%zoulas.com@localhost>
     Message-ID:  <07BE2947-3B90-463F-B8D9-532A15FA0FED%zoulas.com@localhost>
 
   | Weird, it seems to be working for me.
   |
   | $ ./hello.com
   | hello world
 
 That works, Justine said it was working on NetBSD, what doesn't
 work is "sh hello.com" which I think is what is wanted.
 
 Justine, to change the shell we'd need a different heuristic that
 works as well, or at least close to it, to avoid executing files
 that should not be executed.   And support from the users.
 
 kre
 


Home | Main Index | Thread Index | Old Index