[Bug 864102] New: Bad precedence in library version check

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 8 15:05:35 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=864102

            Bug ID: 864102
        QA Contact: extras-qa at fedoraproject.org
          Severity: unspecified
           Version: el6
          Priority: unspecified
                CC: perl-devel at lists.fedoraproject.org, psabata at redhat.com
          Assignee: psabata at redhat.com
           Summary: Bad precedence in library version check
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Unspecified
          Reporter: linux at cmadams.net
              Type: Bug
     Documentation: ---
          Hardware: Unspecified
        Mount Type: ---
            Status: NEW
         Component: perl-Net-SSH2
           Product: Fedora EPEL

Created attachment 623492
  --> https://bugzilla.redhat.com/attachment.cgi?id=623492&action=edit
Fix operator precedence in auth agent check

The perl module checks the libssh2 version to decide if agent authenticaion
support should be used, but there is a bad operator precedence in the check (>=
has higher precedence than ||).  While the bug is upstream, the situation
(running newer Net::SSH2 with older libssh2) is pretty specific to RHEL 6. 
This bug makes ->auth calls fail unless an explicit auth rank is set.

The attached patch fixes the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the perl-devel mailing list