[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sftp EOF detection infinite loop

On Tuesday, 25 July 2017 18:59:44 CEST Jeremy Cross wrote:
> Hi Andreas,

Hi Jeremy,

> Regarding the sftp EOF detection patch
> (https://git.libssh.org/projects/libssh.git/commit/?h=v0-7&id=1b0bf852bef0a
> cfde0825163a6d313a5654b1d74), we still seem to still be hitting an infinite
> loop situation.
> I don't have access to the environment where this is being reported, but my
> best guess at this point is that ssh_channel_is_eof is returning false
> because there is data in the stderr buffer, but there is nothing in the
> loop to bleed off that data and so we loop forever.
> Does that theory sound plausible? Should the stderr data be ignored or bled
> off?

I dunno, the best would be if we have a reproducer and we could write a test 
for for the issue.


Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

sftp EOF detection infinite loopJeremy Cross <JCross@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org