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

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Oct 20 14:16:58 EST 2007


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

           Summary: getpwuid called twice without pwcopy (percent_expand:
                    NULL replacement)
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 4.4p1
          Platform: ix86
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: toby at butzon.com


Created an attachment (id=1364)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1364)
patch for ssh.c

The symptom is:

$ ssh foo
percent_expand: NULL replacement

Just need to pwcopy the last getpwuid result; percent_expand calls
getpwuid, too, so not doing so destroys the old pwcopy data.

-- 
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