Package: procps Version: 1:3.3.2-3 Severity: normal Tags: patch Hi, This is a forward of Ubuntu bug report 965341 that I've confirmed also affects Debian: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/965341
I've also confirmed it also affects version 3.3.3-1 (I rebuilt it on wheezy and that's what I tested on) JĂșlio Hoffimann Mendes reported that he could get 'watch' to seg by tailing a special binary under watch; i.e. watch 'tail sample.dat' where the sample.dat is available at: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/965341/+attachment/2941125/+files/sample.dat I investigated this and found it to be due to passing a wide character to isprint(); you can see my patch for the older package: https://code.launchpad.net/~ubuntu-treblig/ubuntu/precise/procps/fix-for-bug-965341 I reckon this is the isprint() at line 589 of the git watch.c, line 441 of the procps-3.3.1 source and flipping that to a iswprint adding a #include of wctype.h (in the WITH_WATCH8BIT ifdef fixes it. Dave P.S. I'm concerned that a c<128 has changed to c<12 in the more recent package - I suspect that might be bogus, but I'll take that up separately. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages procps depends on: ii initscripts 2.88dsf-22.1 ii libc6 2.13-32 ii libncurses5 5.9-7 ii libncursesw5 5.9-7 ii libprocps0 1:3.3.2-3 ii libtinfo5 5.9-7 ii lsb-base 4.1+Debian4 Versions of packages procps recommends: ii psmisc 22.16-1 procps suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org