from_backend() should always be called with len > 0. Only rlogin
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Mar 2002 13:17:45 +0000 (13:17 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Mar 2002 13:17:45 +0000 (13:17 +0000)
commit2b0c045b635e108602a614beb8bf8343c4d21102
treec807b9a8cb4b4f2e4d628a8943cb1d1877dcbf10
parent41d3adbbfed77605e4a397ce199c5751c35bf94b
from_backend() should always be called with len > 0. Only rlogin
mode ever failed to do this, and only Plink actually had a problem
with it, so this didn't become obvious for a while. rlogin mode is
fixed, and all implementations of from_backend() now contain an
assertion so that we should spot errors of this type more quickly in
future.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1571 cda61777-01e9-0310-a592-d414129be87e
plink.c
psftp.c
rlogin.c
scp.c
terminal.c