[Bug 1377] getpwuid called twice without pwcopy (percent_expand: NULL replacement)

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Nov 3 11:37:58 EST 2007


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


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|bitbucket at mindrot.org       |djm at mindrot.org
Attachment #1364 is|0                           |1
           obsolete|                            |
   Attachment #1379|                            |ok?
               Flag|                            |




--- Comment #2 from Damien Miller <djm at mindrot.org>  2007-11-03 11:37:55 ---
Created an attachment (id=1379)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1379)
free passwd struct after dup

That patch will leak the passwd struct, so I think it needs a symmetric
pwfree() like this.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list