Commit d55f56ec authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

Fix use of uninitialized value in checks/

When running Lintian from master on a changes files that is not in the
current directory, Lintian emits the following error:

  Use of uninitialized value $1 in concatenation (.) or string at /lcl/lechner/lintian/git/checks/ line 429

It can be reproduced on amd64 with a current master of Lintian by
running in the Lintian root (here called 'git'):

  cd ..
  cd mdadm-4.1
  ../git/frontend/lintian ../mdadm_4.1-2_amd64.changes

This commit checks for null before using the value.

Gbp-Dch: ignore
Signed-off-by: Chris Lamb's avatarChris Lamb <>
parent 2045ea8f
Pipeline #60953 passed with stages
in 89 minutes and 59 seconds