[Top][All Lists]

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

Re: CTLNUL leakage in bash-20190220

From: Robert Elz
Subject: Re: CTLNUL leakage in bash-20190220
Date: Sat, 09 Mar 2019 11:43:33 +0700

    Date:        Fri, 8 Mar 2019 19:18:29 -0500
    From:        Grisha Levit <address@hidden>
    Message-ID:  <address@hidden>

  | bash removes the surrounding space in these cases (all other shells
  | print `< X >'):

Must be something to do with null value for IFS.   If IFS=Q (or anything
else not containing space or X) it works fine.   That shows that the spaces
are being removed by field splitting (which is the only place they properly
can be, so that is correct) - except they should not be when there is no
space in IFS (and aren't, when IFS contains something, but no space).  It
is as if IFS='' is being treated as an unset IFS in this case.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]