The following commit has been merged in the master branch:
commit a1ad6de364ae2ff390900e8652db372e05dba874
Author: Adam D. Barratt <[EMAIL PROTECTED]>
Date:   Fri Jul 25 06:36:15 2008 +0100

    Check the SONAME field in the objdump object is initialised before using it

diff --git a/checks/binaries b/checks/binaries
index e433d37..981b6aa 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -47,7 +47,7 @@ foreach my $file (keys %{$info->objdump_info}) {
     my $objdump = $info->objdump_info->{$file};
     $file = './' . $file;
 
-    $SONAME{$file} = $objdump->{SONAME};
+    $SONAME{$file} = $objdump->{SONAME} if defined $objdump->{SONAME};
 
     foreach my $symbol (@{$objdump->{SYMBOLS}}) {
        my ($foo, $sec, $sym) = @{$symbol};

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to