package cupt tags 560160 + pending thanks Hi,
Jean-Christophe Dubacq wrote: > Package: cupt > Version: 1.3.1 > Severity: minor > Tags: patch > > Hello, > > I had some exotic packages installed on my system with no definition for > installed_size. > Cupt fails ungracefully: > Use of uninitialized value $bytes in numeric lt (<) at > /usr/share/perl5/Cupt/Core.pm line 311, <$fh> line 119. > at /usr/share/perl5/Cupt/Core.pm line 311 > Cupt::Core::human_readable_size_string(undef) called at /usr/bin/cupt > line 527 > main::show_binary_package_versions() called at /usr/bin/cupt line 143 > eval {...} called at /usr/bin/cupt line 142 > main::main() called at /usr/bin/cupt line 157 > at /usr/share/perl5/Cupt/Core.pm line 110 > Cupt::Core::mycatch() called at /usr/bin/cupt line 145 > main::main() called at /usr/bin/cupt line 157 > > > The fix is really simple: add a ...if defined $version->installed_size at end > of line 527 (like what > is done on line 526 for size). > Thanks for the report. Should be fixed in the master branch in another way. Please check. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer
signature.asc
Description: OpenPGP digital signature