diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/formatting.pm | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- workaround crashing while performing medium name lookup (#38793) + Version 4.9.7 - 21 March 2008, Thierry Vignaud - make the focus default on "yes" in yes/no dialogs diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm index 5c8586d4..5637c4c2 100644 --- a/Rpmdrake/formatting.pm +++ b/Rpmdrake/formatting.pm @@ -98,6 +98,7 @@ sub urpm_name { sub pkg2medium { my ($p, $urpm) = @_; + return if !ref $p; return { name => N("None (installed)") } if !$p->id; # if installed URPM::pkg2media($urpm->{media}, $p) || undef; } |