Bug#642038: [checks/files] setuid-binary for binaries linked with libvga
Package: lintian
Version: 2.5.3
Severity: minor
Tags: patch
lintian tries to avoid emitting setuid-binary for binaries that are
linked with libvga, but it does't quite work:
$ lintian --no-cfg -C files zgv_5.9-2+b1_i386.deb
W: zgv: setuid-binary usr/bin/zgv 4755 root/root
--
Jakub Wilk
diff --git a/checks/files b/checks/files
--- a/checks/files
+++ b/checks/files
@@ -181,9 +181,10 @@
my $objdump = $info->objdump_info->{$file};
if (defined $objdump->{NEEDED}) {
- my $lib = $objdump->{NEEDED};
- $linked_against_libvga{$file} = 1
- if $lib =~ m/libvga/;
+ for my $lib (@{$objdump->{NEEDED}}) {
+ $linked_against_libvga{$file} = 1;
+ if $lib =~ /^libvga\.so\./;
+ }
}
}
Reply to: