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

[lintian] 01/01: c/shared-libs: Fix use of undef with unsafe symlinks



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

nthykier pushed a commit to branch master
in repository lintian.

commit d30598191a8ffaa67fb64bb8ed3b07c7f17f7a06
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Aug 25 00:17:22 2013 +0200

    c/shared-libs: Fix use of undef with unsafe symlinks
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/shared-libs.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/shared-libs.pm b/checks/shared-libs.pm
index 5edf4ec..54f4d85 100644
--- a/checks/shared-libs.pm
+++ b/checks/shared-libs.pm
@@ -95,7 +95,7 @@ sub run {
 
         if (
             exists $SONAME{$cur_file}
-            or (defined $cur_file->link
+            or (defined $normalized_target
                 and exists $SONAME{$normalized_target})
           ) {
             # yes!!

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


Reply to: