Bug 253693

Summary: [PATCH] security/pam_ssh_agent_auth: upstream patch for ECDSA segfault
Product: Ports & Packages Reporter: Matt Coster <opensource>
Component: Individual Port(s)Assignee: Matthew Seaman <matthew>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (matthew)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch from upstream none

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 freebsd_triage 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 freebsd_triage 2021-02-21 12:03:36 UTC
Committed, thanks!