Skip to content

Commit

Permalink
perl-nocem: Fix use of uninitialized value
Browse files Browse the repository at this point in the history
Thanks to Jesse Rehmer for the bug report.
  • Loading branch information
Julien-Elie committed Sep 17, 2023
1 parent 8f2a31f commit 544bebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/perl-nocem.in
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ sub read_nocem {
$body .= $_;
last if /^\@\@BEGIN NCM BODY/;
my ($key, $val) = /^([^:]+)\s*:\s*(.*)$/;
$hdrs{ lc $key } = $val;
$hdrs{ lc $key } = $val if defined($key);
}
foreach (qw(action issuer notice-id type version)) {
next if $hdrs{$_};
Expand Down

0 comments on commit 544bebd

Please sign in to comment.