[Bug 2186] New: ssh-agent crashes when removing PKCS#11 library keys if non-PKCS#11 keys are present

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Dec 18 09:10:11 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2186

            Bug ID: 2186
           Summary: ssh-agent crashes when removing PKCS#11 library keys
                    if non-PKCS#11 keys are present
           Product: Portable OpenSSH
           Version: 6.3p1
          Hardware: All
                OS: Mac OS X
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh-agent
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jay at slushpupie.com

Created attachment 2391
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2391&action=edit
openssh-6.3p1-agent.patch

When removing a PKCS#11 key from the agent, the agent crashes if
file-based keys are present in the agent.  I discovered this was
because strcmp() is called on the provider of each key, but the
provider is NULL for file keys.  The attached patch remedies this by
checking for a NULL provider first.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list