crc32 error in case filename contains crc as decimal and absolut path is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libarchive-zip-perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 20.04 LTS
Release: 20.04
libarchive-
Installiert: 1.67-2
Installations
Versionstabelle:
*** 1.67-2 500
500 http://
500 http://
100 /var/lib/
This bug seems to appear when the crc value is starting with "0" and/or decimal checksum with 8 characters is added to the filename
I have a zip-file with pk3 extension with a checksum of 0298fb7f (decimal 43580287)
Happy case:
vecter@
0298fb7f
Error (same file full path):
vecter@
0298fb7f BAD 0298fb7f != 43580287
Expected behaviour would be that the result is the same as with the happy case. Alternatively it should show the same behaviour one way or the other...
#### Other tests with the same file ####
If I rename the file to 0298fb7f-
vecter@
0298fb7f OK
If I rename the file to 1234-pak101.pk3:
vecter@
0298fb7f
If I rename the file to 1234567890-
vecter@
0298fb7f
If I rename the file to 12345678-
vecter@
0298fb7f BAD 0298fb7f != 12345678
If I use a relative path (or same folder) with the same name:
vecter@
0298fb7f
If I rename the file to pak101.pk3:
vecter@
0298fb7f
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libarchive-zip-perl 1.67-2
ProcVersionSign
Uname: Linux 5.4.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Jul 5 18:57:25 2020
Dependencies:
InstallationDate: Installed on 2020-06-01 (34 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: libarchive-zip-perl
UpgradeStatus: No upgrade log present (probably fresh install)