1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-01-27 00:18:12 +03:00
Files
libssh2/src
Anders Borum 1a9e8811f7 session: support server banners up to 8192 bytes (was: 256)
If server had banner exceeding 256 bytes there wasn't enough room in
`_LIBSSH2_SESSION.banner_TxRx_banner`. Only the first 256 bytes would be
read making the first packet read fail but also dooming key exchange as
`session->remote.banner` didn't include everything.

This change bumps the banner buffer to 8KB to match OpenSSH.

Fixes #1442
Closes #1443
2024-10-08 23:04:12 +02:00
..
2023-04-10 09:20:13 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2024-07-30 22:59:02 +02:00
2023-06-07 08:18:55 +02:00
2024-01-10 16:32:22 +00:00
2023-06-07 08:18:55 +02:00
2024-07-30 22:59:02 +02:00
2023-12-02 09:53:56 +00:00
2024-07-30 22:59:02 +02:00
2023-08-18 11:20:58 +00:00
2024-04-26 22:58:55 +02:00
2024-08-06 10:56:23 +02:00
2024-08-06 10:56:23 +02:00
2024-08-06 10:56:23 +02:00
2024-08-06 10:56:22 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00