aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-12 22:16:45 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-12 22:16:45 +0000
commitd351d900cf9e3559da9bf31cd34e735c3aff0692 (patch)
tree4e113edc7f434597df22e5214426feb159310856
parent4ab64b8441221249972b3cfe2161cc72885a64f4 (diff)
downloadmgaadvisories-d351d900cf9e3559da9bf31cd34e735c3aff0692.tar
mgaadvisories-d351d900cf9e3559da9bf31cd34e735c3aff0692.tar.gz
mgaadvisories-d351d900cf9e3559da9bf31cd34e735c3aff0692.tar.bz2
mgaadvisories-d351d900cf9e3559da9bf31cd34e735c3aff0692.tar.xz
mgaadvisories-d351d900cf9e3559da9bf31cd34e735c3aff0692.zip
dereference hash for 'keys'0.2
-rwxr-xr-xmkadvisories2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkadvisories b/mkadvisories
index 5b5dbf8..1c957cb 100755
--- a/mkadvisories
+++ b/mkadvisories
@@ -75,7 +75,7 @@ sub publish_advisories {
sub sort_advisories {
my ($advdb) = @_;
- foreach my $adv (keys $advdb->{advisories}) {
+ foreach my $adv (keys %{$advdb->{advisories}}) {
push @{$advdb->{by_type}{$advdb->{advisories}{$adv}{type}}}, $adv;
foreach my $cve (@{$advdb->{advisories}{$adv}{CVE}}) {
push @{$advdb->{by_cve}{$cve}}, $adv;