Commit Graph

13 Commits

Author SHA1 Message Date
Sara Golemon
66f913e53a A broken decrypt (or false packet) could cause an unreasonably large
block of memory to be allocated leading to indeterminate results.

SSH-TRANS only requires implementations to handle about about 32k
compressed length per packet.  Allow 40k to be safe, but no more.
2004-12-18 07:14:51 +00:00
Sara Golemon
26e7e66ecf Bump version for release 2004-12-17 01:33:17 +00:00
Sara Golemon
3614bdac21 Changed libssh2_session_disconnect_ex() to return an error code
on failed alloc.
2004-12-16 23:02:25 +00:00
Sara Golemon
620a685af2 Add libssh2_session_last_error() 2004-12-16 22:44:28 +00:00
Sara Golemon
d2ca405d0f Added libssh2_session_abstract() 2004-12-09 23:27:14 +00:00
Sara Golemon
566bea77ea Add libssh2_session_method_pref() and libssh2_session_methods().
Specify methods to be used and retreive what methods were negotiated.
2004-12-09 22:10:07 +00:00
Sara Golemon
165837c085 Let the calling program know what methods we support 2004-12-09 19:09:03 +00:00
Sara Golemon
7035d475eb Added libssh2_session_callback_set() 2004-12-09 18:24:14 +00:00
Sara Golemon
794f01acc1 Add flush mechanism to the channel API 2004-12-08 18:54:25 +00:00
Sara Golemon
7a153310f7 Change extended data ignore to allow merging extended data into the primary stream 2004-12-08 18:14:46 +00:00
Sara Golemon
433a94606a Bump version for release 2004-12-08 04:00:51 +00:00
Sara Golemon
82e9e2ba0f Add "ignore extended data" option to avoid having stderr data fill up
the receive window and leaving no room for stdio data.
2004-12-08 03:39:29 +00:00
Sara Golemon
7a5ffc8cee Initial revision 2004-12-07 21:17:20 +00:00