diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-07 23:10:04 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-01-07 23:13:40 +0000 |
commit | ef2804f8817f5d2771caa1c70a9ebe4591268099 (patch) | |
tree | 0cd1683222296e446a5577c4c75cbcee7ab17472 | |
parent | 23e56c29bdbca9862d483b3551b107cd9a25c648 (diff) |
dgit: archive-api-query: Avoid crashing due to lack of $isuite
Otherwise:
Use of uninitialized value $isuite in concatenation (.) or string at dgit line 705.
This breaks the infrastructure. Closes:#886592.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | debian/changelog | 4 | ||||
-rwxr-xr-x | dgit | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 8d56188..6bac07b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ dgit (4.3~) unstable; urgency=medium - * + Bugfixes: + * dgit archive-api-query: Avoid crashing due to lack of $isuite. + This breaks the infrastructure. Closes:#886592. -- @@ -6456,6 +6456,7 @@ sub pre_archive_api_query () { sub cmd_archive_api_query { badusage "need only 1 subpath argument" unless @ARGV==1; my ($subpath) = @ARGV; + local $isuite = 'DGIT-API-QUERY-CMD'; my @cmd = archive_api_query_cmd($subpath); push @cmd, qw(-f); debugcmd ">",@cmd; |