Package: cpio Version: 2.11-1 Severity: important
When extracting files from a cpio-archive of type "crc", cpio complains about checksum errors for some files, however the files are extracted correctly. This happens also when using cpio version 2.11-1 to extract files from archives created with an older cpio-version (2.10-1) (With cpio 2.10-1, the old archive could be extraced without CRC-errors; that's why I assume the problem to be in copy-in mode). The errors also appears when only verifying the checksum with "cpio -i --only-verify-crc". An example-file triggering the bug is the GoOo-release-file for Win32: go-oo.mirrorbrain.org/stable/win32/3.2/GoOo-3.2-13.exe The bug can be triggered e.g by a...@zeus:~# echo GoOo-3.2-13.exe | cpio -o -H crc > test.cpio 383402 blocks a...@zeus:~# cpio -i --only-verify-crc < test.cpio cpio: GoOo-3.2-13.exe: checksum error (0x5d90c3303, should be 0xd90c3303) 383402 blocks However, the file is correctly stored in the archive and can be extracted correctly: a...@zeus:~# md5sum GoOo-3.2-13.exe 238c3a70223cb33036617fed3c7440c9 GoOo-3.2-13.exe a...@zeus:~$ rm GoOo-3.2-13.exe a...@zeus:~$ cpio -i < test.cpio cpio: GoOo-3.2-13.exe: checksum error (0x5d90c3303, should be 0xd90c3303) 383402 blocks a...@zeus:~$ md5sum GoOo-3.2-13.exe 238c3a70223cb33036617fed3c7440c9 GoOo-3.2-13.exe I tried also a 32bit system (squeeze; Linux 2.6.32-3-686; cpio 2.11-1; libc6 2.10.2-6; dpkg 1.15.5.6). There, cpio works correctly with this file (but maybe a similar problem appears for other files?). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cpio depends on: ii dpkg 1.15.5.6 Debian package management system ii install-info 4.13a.dfsg.1-5 Manage installed documentation in ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib cpio recommends no packages. cpio suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

