Package: dumpasn1
Version: 20150808-3
Severity: normal
Tags: upstream
Dear Maintainer,
dumpasn1 prints a wrong decoding of a single octet octetstring when
reading from file (as opposed to stdin).
Create a simple test file:
$ echo -ne "\x04\x01\x00" > test
dumpasn1 decodes this as:
$ dumpasn1 test
0 1: OCTET STRING 01
0 warnings, 0 errors.
The expected result is what dumpasn1 gives when reading from stdin:
$ cat test | dumpasn1 -
Warning: Input is non-seekable, some functionality has been disabled.
0 1: OCTET STRING 00
0 warnings, 0 errors.
(I know this is an upstream bug, not a Debian one, but upstream seems to
just be a university homepage, so I am reporting this here.)
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=et_EE.utf8, LC_CTYPE=et_EE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dumpasn1 depends on:
ii libc6 2.24-9
dumpasn1 recommends no packages.
dumpasn1 suggests no packages.
-- no debconf information