[Bug 1739] New: getcwd does not support size zero argument on Solaris
    bugzilla-daemon at bugzilla.mindrot.org 
    bugzilla-daemon at bugzilla.mindrot.org
       
    Wed Mar 24 15:35:05 EST 2010
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=1739
           Summary: getcwd does not support size zero argument on Solaris
           Product: Portable OpenSSH
           Version: 5.4p1
          Platform: Sparc
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: rich at mirch.com
Overview: 
   The function derelativise_path() in servconf.c calls getcwd(NULL,0) 
and using zero for the size argument is unsupported on Solaris.
Steps to Reproduce: 
    1) uncomment #AuthorizedKeysFile     %h/.ssh/authorized_keys
       from /etc/ssh/sshd_config
    2) restart sshd
Actual Results: 
   sshd failed to start with the following message
   derelativise_path: getcwd: Invalid argument
Expected Results: 
   sshd starts with no error messages
Build Date & Platform:
   Build 2010-03-23 on Solaris 9 sun4u
   OpenSSH_5.4p1, OpenSSL 0.9.8m
-- 
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