[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/02: coll/strings: Pass -a strings(1)



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit eb69d2917905cccbe65b694b857c53d9bd0691bb
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   | 6 +++++-
 2 files changed, 7 insertions(+), 3 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 b706a93..dc2663c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,10 @@ lintian (2.5.31) UNRELEASED; urgency=medium
     + [BR] Add reference to build-depends-on-metapackage
       (Closes: #767107).
 
+  * collection/strings:
+    + [NT] Pass "-a" to strings to avoid possible security
+      issues in strings.
+
   * data/changes-file/known-dists:
     + [ADB] Add "stretch".
 
@@ -23,7 +27,7 @@ lintian (2.5.31) UNRELEASED; urgency=medium
     + [NT] Prefer dpkg-deb --ctrl-tarfile to "ar p" when dpkg
       is recent enough.
 
- -- Niels Thykier <niels@thykier.net>  Sun, 02 Nov 2014 14:22:59 +0100
+ -- Niels Thykier <niels@thykier.net>  Sun, 09 Nov 2014 15:25:04 +0100
 
 lintian (2.5.30) unstable; urgency=medium
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: