[Bug 3508] Memory leak in auth-pam

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Dec 16 15:35:28 AEDT 2022


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

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
   Attachment #3643|                            |ok?(djm at mindrot.org)
              Flags|                            |

--- Comment #3 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3643
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3643&action=edit
Do not store sshpam_conninfo across calls to sshpam_init

Those things said, the content of sshpam_conninfo is constructed of
things that are guaranteed to be available (remote host and port, local
port and address) so we don't actually need to cache it across calls at
all and thus it doesn't need to be static or global.  This puts all of
the conninfo bits in one place.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list