aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-27 13:36:04 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-27 13:36:04 +0000
commitadec2f9a3c6f5956c98795379caf1a4d49013ef9 (patch)
tree19ca8ac1c047547fd38ccc9e1e9c6f6624475556 /Rpmdrake
parentb80a5ca326d4e149117cfd843343868b42844b86 (diff)
downloadrpmdrake-adec2f9a3c6f5956c98795379caf1a4d49013ef9.tar
rpmdrake-adec2f9a3c6f5956c98795379caf1a4d49013ef9.tar.gz
rpmdrake-adec2f9a3c6f5956c98795379caf1a4d49013ef9.tar.bz2
rpmdrake-adec2f9a3c6f5956c98795379caf1a4d49013ef9.tar.xz
rpmdrake-adec2f9a3c6f5956c98795379caf1a4d49013ef9.zip
(get_installed_packages) fix crash in URPM with non standard package
names (#41002)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 89f1d827..bd25caf9 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -327,6 +327,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),