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

Question regarding assert in libssh-0.6.1


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


Follow-Ups:
Re: Question regarding assert in libssh-0.6.1Andreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org