Files
libssh/tests
Mingyuan Li 60d6179eaa tests: Add opendir handle exhaustion test for sftpserver
Add torture_server_sftp_opendir_handles_exhaustion test that
exercises the error path in process_opendir() when all SFTP
handles are occupied. This covers the memory leak fix for
h->name that was missing in the sftp_handle_alloc() failure path.

The test exhausts all 256 handle slots with sftp_open(), then
verifies that sftp_opendir() fails gracefully without crashing
or leaking memory.

Signed-off-by: Mingyuan Li <2560359315@qq.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2026-02-24 10:33:36 +01:00
..
2026-02-10 15:16:58 +01:00
2026-01-15 12:48:06 +01:00
2026-01-05 12:24:13 +01:00
2009-11-05 18:18:35 +01:00
2026-01-05 12:24:13 +01:00
2026-02-10 15:16:58 +01:00
2026-01-05 12:24:13 +01:00