Package: dpkg
Version: 1.18.4
Severity: minor
Dear Maintainer,
Consider the following error message:
$ dpkg-deb -z foo
dpkg-deb: error: invalid integer for --(null): 'foo'
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --help for help about installing and deinstalling packages.
The error message shouldn't be saying "--(null)", first of all because there's
no such option, and second of all because passing a NULL pointer to the %s
formatter of printf(3) is undefined behaviour.
Cheers,
Daniel
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-8
ii libc6 2.21-6
ii liblzma5 5.1.1alpha+20120614-2.1
ii libselinux1 2.4-3
ii tar 1.28-2.1
ii zlib1g 1:1.2.8.dfsg-2+b1
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.1.8
-- debconf-show failed