Bug 253693 - [PATCH] security/pam_ssh_agent_auth: upstream patch for ECDSA segfault
Summary: [PATCH] security/pam_ssh_agent_auth: upstream patch for ECDSA segfault
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-19 15:07 UTC by Matt Coster
Modified: 2021-02-21 12:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (matthew)


Attachments
Patch from upstream (2.12 KB, application/mbox)
2021-02-19 15:07 UTC, Matt Coster
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Coster 2021-02-19 15:07:14 UTC
Created attachment 222640 [details]
Patch from upstream

This is a patch submitted upstream [1] to fix a segfault which occurs when using ECDSA keys (reported upstream last year [3]). It's already been submitted & accepted by Ubuntu [3].

Would it be possible to get this patch added to the port until it's merged upstream?

[1]: https://github.com/jbeverly/pam_ssh_agent_auth/pull/24
[2]: https://github.com/jbeverly/pam_ssh_agent_auth/issues/18
[3]: https://bugs.launchpad.net/bugs/1869512
Comment 1 commit-hook freebsd_committer 2021-02-21 11:57:12 UTC
A commit references this bug:

Author: matthew
Date: Sun Feb 21 11:56:42 UTC 2021
New revision: 566222
URL: https://svnweb.freebsd.org/changeset/ports/566222

Log:
  Fix segfault when handling ECDSA keys

  Import patch by Marc Deslauriers from the Ubuntu package of pam_ssh_agent_auth

  Ref: https://github.com/jbeverly/pam_ssh_agent_auth/pull/24/files
       https://github.com/jbeverly/pam_ssh_agent_auth/issues/18
       https://bugs.launchpad.net/ubuntu/+source/pam-ssh-agent-auth/+bug/1869512

  PR:             253693
  Submitted by:   Matt <opensource mtcoster.net>
  Obtained from:  Marc Deslauriers <marc.deslauriers canonical.com>, Ubuntu

Changes:
  head/security/pam_ssh_agent_auth/Makefile
  head/security/pam_ssh_agent_auth/files/patch-ssh-ecdsa.c
Comment 2 Matthew Seaman freebsd_committer 2021-02-21 12:03:36 UTC
Committed, thanks!