[SCM] Debian package checker branch, master, updated. 2.5.12-95-g0c06bdd
The following commit has been merged in the master branch:
commit 0c06bdd03f8461307870fe19f79cd1bf850f8a27
Author: Niels Thykier <niels@thykier.net>
Date: Sun May 19 22:36:24 2013 +0200
c/menu-format: Fix use of uninitialized warning
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/menu-format b/checks/menu-format
index 87967df..7e500c4 100644
--- a/checks/menu-format
+++ b/checks/menu-format
@@ -436,7 +436,8 @@ sub verify_line {
# Sanitize the section tag
my $section = $vals{'section'};
$section =~ tr:/:/:s; # eliminate duplicate slashes. # Hallo emacs ;;
- $section =~ s:/$::; # remove trailing slash.
+ $section =~ s:/$:: # remove trailing slash
+ unless $section eq '/'; # - except if $section is '/'
# Be sure the command is provided by the package.
my ($okay, $command) = verify_cmd($fullname, $linecount, $vals{'command'},
diff --git a/debian/changelog b/debian/changelog
index 40dd257..28784eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -59,6 +59,9 @@ lintian (2.5.13) UNRELEASED; urgency=low
* checks/init.d:
+ [NT] Add missing import of utility function that could cause
Lintian to crash in some cases.
+ * checks/menu-format:
+ + [NT] Fix use of uninitialized variable when menu file uses a
+ section of "/". (Closes: #708755)
* checks/po-debconf{,.desc}:
+ [NT] Remove tests for commands that are provided by
Lintian's dependencies.
--
Debian package checker
Reply to: