diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-27 13:36:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-27 13:36:42 +0000 |
commit | 08ed9f3d96e464f01f63644f16f900e20604d2ae (patch) | |
tree | 3891b92b9abb240cc34961e2db6955144ea9e389 | |
parent | cd9adda94c6ce6bae930a0635bfa12e6ba998c1d (diff) | |
download | rpmdrake-08ed9f3d96e464f01f63644f16f900e20604d2ae.tar rpmdrake-08ed9f3d96e464f01f63644f16f900e20604d2ae.tar.gz rpmdrake-08ed9f3d96e464f01f63644f16f900e20604d2ae.tar.bz2 rpmdrake-08ed9f3d96e464f01f63644f16f900e20604d2ae.tar.xz rpmdrake-08ed9f3d96e464f01f63644f16f900e20604d2ae.zip |
(get_installed_packages) fix crash in URPM with non standard package
names (#41002)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- rpmdrake: + o fix crash in URPM with non standard package names (#41002) - MandrivaUpdate (#40235): o laptop mode (height not bigger than 480): fix test diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 06c88e55..917b6f6f 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -320,6 +320,7 @@ sub get_installed_packages { my ($pkg) = @_; update_pbar($gurpm); my $fullname = urpm_name($pkg); + return if $fullname =~ /@/; #- Extract summary and description since they'll be lost when the header is packed $all_pkgs->{$fullname} = { selected => 0, pkg => $pkg, urpm_name => urpm_name($pkg), |