Package: dash
Version: 0.5.3-3
Severity: normal

dash improperly handles two cyrillic characters in assignment to shell variable.
All other characters are processed ok.

Reproduceable example is below:

$ echo ш | hexdump
0000000 88d1 000a
$ LETTER=ш
$ echo $LETTER | hexdump
0000000 0ad1


$ echo с | hexdump
0000000 81d1 000a
$ LETTER=с
$ echo $LETTER | hexdump
0000000 20d1 6d75 0a70


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)

Versions of packages dash depends on:
ii  libc6                         2.3.6-9    GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information excluded

Reply via email to