aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/gui.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8a888518..9e322001 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix for a crash (#56144)
+
Version 5.25 - 3 March 2010, Thierry Vignaud
- do not show file list if empty
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 4898fe08..f54dea8a 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -839,6 +839,7 @@ sub toggle_nodes {
scroll => 1,
);
foreach (@cant) {
+ next unless $pkgs->{$_}{pkg};
$pkgs->{$_}{pkg}->set_flag_requested(0);
$pkgs->{$_}{pkg}->set_flag_required(0);
}