[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question regarding assert in libssh-0.6.1
[Thread Prev] | [Thread Next]
- Subject: Question regarding assert in libssh-0.6.1
- From: Aartih <aarthit2014@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 10 Apr 2014 06:14:38 +0000 (UTC)
- To: libssh@xxxxxxxxxx
Hi , From the libssh versions 0.6.1 we see that there are two places in packet_encrypt.c file where an assert(len) is added. Normally when we receive a bad packet length or a packet integrity error we hit this assert in functions packet_decrypt and packet_encrypt. When this library is linked with a process and if this error is occurs then the whole process gets killed. Could this condition be handled in a different way without asserting? Thanks Aarthi
Re: Question regarding assert in libssh-0.6.1 | Andreas Schneider <asn@xxxxxxxxxxxxxx> |