[Bug 1102] C program 'write' with zero length hangs
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Wed Oct 12 22:22:38 EST 2005
    
    
  
http://bugzilla.mindrot.org/show_bug.cgi?id=1102
           Summary: C program 'write' with zero length hangs
           Product: Portable OpenSSH
           Version: 4.1p1
          Platform: PPC
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: timc at datacrown.co.uk
A simple 'write( )' system call from a 'C' program with zero as the value of
the data length hangs forever. Easily reproducable via a "one-line" program
with the statement
write(1,"anything",0);
It only appears to be an AIX problem with both 5.2 and 5.3 failing but works
fine with SCO-Unix. Attached nullout.c will save a little bit of typing.
Our client has since tried it with "OpenSSH_4.2p1 and OpenSSL 0.9.8 5-Jul-05"
build and reports it still fails.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
    
    
More information about the openssh-bugs
mailing list