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

lintian: r1165 - in trunk: checks debian



Author: rra
Date: 2008-02-04 04:58:44 +0100 (Mon, 04 Feb 2008)
New Revision: 1165

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
* checks/binaries:
  + [RA] Don't require objdump's errors on files with bad dynamic tables
    to start at the beginning of the line.  Patch from Chris Lamb.
    (Closes: #459509)

Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2008-02-04 02:55:53 UTC (rev 1164)
+++ trunk/checks/binaries	2008-02-04 03:58:44 UTC (rev 1165)
@@ -107,7 +107,9 @@
             tag "apparently-corrupted-elf-binary", "$file";
 	} elsif (m/^objdump: \.(.*?): Packed with UPX$/) {
 	    tag "binary-file-compressed-with-upx", "$file";
-	} elsif (m/^objdump: \.(.*?): Invalid operation$/) {
+	} elsif (m/objdump: \.(.*?): Invalid operation$/) {
+	    # Don't anchor this regex since it can be interspersed with other
+	    # output and hence not on the beginning of a line.
 	    tag "binary-with-bad-dynamic-table", "$file" unless $file =~ m%^\./usr/lib/debug/%;
 	} elsif (m/CXXABI/) {
 	    $CXXABI{$file} = 1;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-02-04 02:55:53 UTC (rev 1164)
+++ trunk/debian/changelog	2008-02-04 03:58:44 UTC (rev 1165)
@@ -1,5 +1,9 @@
 lintian (1.23.43) UNRELEASED; urgency=low
 
+  * checks/binaries:
+    + [RA] Don't require objdump's errors on files with bad dynamic tables
+      to start at the beginning of the line.  Patch from Chris Lamb.
+      (Closes: #459509)
   * checks/changelog-file:
     + [RA] Decode the changelog entry from UTF-8 before doing length
       checks.  Thanks, Cyril Brulebois.  (Closes: #461822)


Reply to: