Commit d513cffd authored by Mattia Rizzolo's avatar Mattia Rizzolo

grep-excuses: Add a patch from Niels Thykier to fix a possible crash.

Closes: #919191
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 6b84a4d1
devscripts (2.19.3) UNRELEASED; urgency=medium
*
* grep-excuses:
+ Add a patch from Niels Thykier to fix a possible crash. Closes: #919191
-- Mattia Rizzolo <mattia@debian.org> Sat, 12 Jan 2019 20:41:40 +0100
......
......@@ -336,7 +336,7 @@ sub print_migration_excuse_info ($;$) {
if (exists $source->{maintainer}) {
printf(" Maintainer: $source->{maintainer}\n");
}
if (exists $source->{policy_info}) {
if (exists $source->{policy_info} and exists $source->{policy_info}{age}) {
my %age = %{ $source->{policy_info}{age} };
if ($age{'current-age'} >= $age{'age-requirement'}) {
printf(" %d days old (needed %d days)\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment