KpyM Telnet/SSH Server - Forum
|Error and Solution
||Error and Solution
||May 31 2007 01:06
I installed 'kts115.exe' and it throwed me an error every time I loged in correctly.
The problem is here:
>> this->ReadFirstPacket( this->ssh_first_read );
>> this->ssh.IsSftp( this->ssh_first_read );
Funcion ReadFirstPacket(str) can return str = "".
In function IsSftp(packet), there is super IF from packet to packet and threisnt a length test...
In file 'KSsh.hxx', before IFs, arround line 250 write:
>> if( packet.length() < (unsigned int)9) return false;
||May 31 2007 09:31
Yep, stupid bug.
I'll add your fix tonight and upload the new binaries.
© 2007 - 2008 Kroum Grigorov