Package: grep
Version: 2.5.1.ds2-5
Severity: normal

$ echo -e 'XXX\nYYY' | env -i LC_CTYPE=en_US grep -A 1 -m 1 -i XXX
XXX
YYY
$ echo -e 'XXX\nYYY' | env -i LC_CTYPE=en_US.UTF-8 grep -A 1 -m 1 -i XXX
XXX
Segmentation fault

Tested on amd64 and i386.

-jim

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

Versions of packages grep depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

grep recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to