Package: bsdmainutils
Version: 8.2.3ubuntu1
Severity: minor
File: /usr/bin/hexdump

Dear Maintainer,

hexdump/conv.c contains a typo near line 158. The list[] array contains the
string "dcl" instead of "dc1"--note the letter "l" versus number "1". The
correct ASCII label is "dc1", as documented in the man page.

I discovered this bug while testing my own independent implementation
at http://25thandclement.com/~william/projects/hexdump.c.html

I've reported this bug upstream to FreeBSD, as well as to OpenBSD. OS X
appears to have quietly fixed this.

To reproduce, just run:

hexdump -e '16 "%3_u " "\n"' /dev/urandom | grep -e dcl -e dc1 | head


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-30-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bsdmainutils depends on:
ii  bsdutils     1:2.20.1-1ubuntu3
ii  debianutils  4.2.1ubuntu2
ii  libc6        2.15-0ubuntu10.3
ii  libtinfo5    5.9-4

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
pn  cpp                   4:4.6.3-1ubuntu5
pn  vacation              <none>
pn  wamerican [wordlist]  7.1-1
pn  wbritish [wordlist]   7.1-1
pn  whois                 <none>

-- 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

Reply via email to