[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-standards
Subject:    Re: bin/25542: sh(1) null char in quoted string
From:       Valentin Davydov <sp () m ! davydov ! spb ! su>
Date:       2009-07-27 19:30:03
Message-ID: 200907271930.n6RJU3VS005183 () freefall ! freebsd ! org
[Download RAW message or body]

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

From: Valentin Davydov <sp@m.davydov.spb.su>
To: bug-followup@FreeBSD.org, sp@m.davydov.spb.su
Cc: Jilles Tjoelker <jilles@stack.nl>
Subject: Re: bin/25542: sh(1) null char in quoted string
Date: Mon, 27 Jul 2009 22:50:54 +0400 (MSD)

 At Sat, 4 Apr 2009 14:41:43 +0200, Jilles Tjoelker wrote:
 >Considering that fixing this would be a lot of work and cannot be done
 >completely (for example, argument strings and environment variables
 >cannot contain '\0'), I think it is best to close this.
 
 I think, at least documentation issue mentioned in the original PR 25542
 can be corrected easy. Here is the patch:
 
 --- src/bin/sh/sh.1.orig        2007-12-05 17:29:07.000000000 +0300
 +++ src/bin/sh/sh.1     2009-07-27 22:36:39.000000000 +0400
 @@ -2381,4 +2381,6 @@
  .Sh BUGS
  The
  .Nm
 -utility does not recognize multibyte characters.
 +utility does not recognize multibyte characters.
 +ASCII <NULL> character in input strings, parameters etc. can be mishandled by
 +.Nm .
 
_______________________________________________
freebsd-standards@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-standards
To unsubscribe, send any mail to "freebsd-standards-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic