[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286632: dpkg: [SEGFAULT] md5sum check on directories will segfault

Package: dpkg
Version: 1.10.25
Severity: normal

$ echo '00000000000000000000000000000000  /' | /usr/bin/md5sum -c
error processing /: failed in buffer_read(fd): mdfile: Is a directory
Segmentation fault

md5sum segfaults on directories. I think there's a check missing.
Reproducible on debian stable and debian sid.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-rc3-mm2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dpkg depends on:
ii  dselect                     1.10.25      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-19 GNU C Library: Shared libraries an

-- no debconf information

Reply to: