[lintian] 01/04: coll/strings: Pass -a strings(1)
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch jessie
in repository lintian.
commit a6bdd5b6450ba79fcdec56b7abfa94f37de1cbf5
Author: Niels Thykier <niels@thykier.net>
Date: Sun Nov 9 15:35:51 2014 +0100
coll/strings: Pass -a strings(1)
Signed-off-by: Niels Thykier <niels@thykier.net>
---
collection/strings | 4 ++--
debian/changelog | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/collection/strings b/collection/strings
index 4b95c9e..ca2bc7a 100755
--- a/collection/strings
+++ b/collection/strings
@@ -63,7 +63,7 @@ sub collect {
pipe_in => FileHandle->new,
fail => 'error'
);
- spawn(\%opts, ['xargs', '-0r', 'strings', '-f', '--'],
+ spawn(\%opts, ['xargs', '-0r', 'strings', '-af', '--'],
'|', [$helper, "$dir/strings"]);
$opts{pipe_in}->blocking(1);
};
@@ -102,7 +102,7 @@ sub collect {
}
spawn(
{out => "$dir/strings/${file}.gz", fail => 'fail'},
- ['strings', "$dir/unpacked/$file"],
+ ['strings', '-a', "$dir/unpacked/$file"],
'|', ['gzip', '-9nc']);
}
}
diff --git a/debian/changelog b/debian/changelog
index 11e1927..6f28542 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
lintian (2.5.30+deb8u1) jessie; urgency=medium
+ * collection/strings:
+ + [NT] Pass "-a" to strings to avoid possible security
+ issues in strings.
+
* data/changes-file/known-dists:
+ [ADB] Add "stretch".
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: