1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2026-10-24 03:48:55 +03:00
Files
libssh/tests/unittests
Martin Pitt 006ddd5035 CVE-2026-59843 tests: Verify zero max packet size in channel open is rejected
Cover both directions with unit tests: a client receiving
SSH2_MSG_CHANNEL_OPEN_CONFIRMATION with a maximum packet size of 0 must
not transition the channel to the open state, and a server receiving
SSH2_MSG_CHANNEL_OPEN with a maximum packet size of 0 must reject the
request. Both come with a positive control using a valid packet size.

Signed-off-by: Martin Pitt <mpitt@debian.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Merge-Request: <https://gitlab.com/libssh/libssh-mirror/-/merge_requests/863>
(cherry picked from commit 7d7c3a04a2)

Reviewed-by: Pavol Žáčik <pzacik@redhat.com>
2026-07-28 13:40:56 +02:00
..
2024-03-22 12:35:07 +01:00
2023-02-02 14:49:06 +01:00
2023-02-02 14:49:06 +01:00
2023-02-02 14:49:06 +01:00