apt-inst: Do not try to create a substring of an empty string in error reporting
authorJulian Andres Klode <jak@debian.org>
Mon, 17 Mar 2014 12:43:12 +0000 (13:43 +0100)
committerMichael Vogt <mvo@ubuntu.com>
Fri, 4 Apr 2014 06:15:58 +0000 (08:15 +0200)
commit5e8589ae8f7b448f8f5a27077db55ef9bc9897ce
treef6e40349c0488bf4847ce73539062b4597d88569
parent77ef358f2967331b90b45c425f33f517ab64210f
apt-inst: Do not try to create a substring of an empty string in error reporting

One of our compressors (the empty one) has an empty extension. Calling substr
on it fails.
apt-inst/deb/debfile.cc