[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sftp EOF detection infinite loop
[Thread Prev] | [Thread Next]
- Subject: Re: sftp EOF detection infinite loop
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 26 Jul 2017 07:45:33 +0200
- To: libssh@xxxxxxxxxx
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 -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
sftp EOF detection infinite loop | Jeremy Cross <JCross@xxxxxxxxxx> |