Public bug reported:

This is critical bug in >= 0.5.13 with a simple fix.
Also reported at https://bugzilla.redhat.com/2568651
Also reported at 
https://lore.kernel.org/dash/[email protected]/T/#u
(I wasn't the first to notice the issue on that thread).

To repro see:

$ bu=$(env printf '\xBF')
$ test "$bu" = "$(env printf '\xBF')" || echo mismatch

This will break _lots_ of scripts if not fixed.

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "One line fix"
   
https://bugs.launchpad.net/bugs/2173930/+attachment/6016899/+files/dash-expand-corruption.patch

** Description changed:

  This is critical bug in >= 0.5.13 with a simple fix.
  Also reported at https://bugzilla.redhat.com/2568651
+ Also reported at 
https://lore.kernel.org/dash/[email protected]/T/#u
+ (I wasn't the first to notice the issue on that thread).
+ 
+ To repro see:
+ 
+ $ bu=$(env printf '\xBF')
+ $ test "$bu" = "$(env printf '\xBF')" || echo mismatch
+ 
+ This will break _lots_ of scripts if not fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173930

Title:
  Variable expansion corruption with non ASCII bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/2173930/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to