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

Bug#174060: dpkg: md5sum -c segfault if expects a file and gets a directory

Package: dpkg
Version: 1.9.21
Severity: normal


   md5sum segfaults if it expects a file, but it is really a directory.

   to reproduce the crash:

      cd /tmp/
      mkdir a
      echo "test" > a/b
      mkdir c
      mkdir c/a
      mkdir c/a/b
      md5sum a/b > /tmp/md5
      cd c
      md5sum -c /tmp/md5         <- segmentation fault


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux mantis 2.2.20 #1 Sat Apr 20 11:45:28 EST 2002 i686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR

Versions of packages dpkg depends on:
ii  libc6                    2.3.1-5         GNU C Library: Shared libraries an
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand
ii  libstdc++2.10-glibc2.2   1:2.95.4-7      The GNU stdc++ library

Reply to: