openssh 2.9p1: data loss when stdout sent to a pipe

Carson Gaspar carson at taltos.org
Sat Jun 16 06:56:05 EST 2001


We're seeing the same thing here. Sadly, the flush code is... ummm... 
differently written. It assumes _any_ return from write <= 0 is an 
unrecoverable error and bombs. It doesn't check for EAGAIN or EINTR, much 
less EWOULDBLOCK.

-- 
Carson Gaspar - carson at taltos.org
Queen trapped in a butch body



More information about the openssh-unix-dev mailing list