Check the length of data passed to sftp_packet_add() to prevent out-of-bounds reads.
Check the length of data passed to sftp_packet_add() to prevent out-of-bounds reads.

libssh2/libssh2,libssh2/libssh2,libssh2/libssh2,libssh2/libssh2