CVE-2026-0968 tests: Reproducer for invalid longname data

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2025-12-22 21:00:03 +01:00
parent 20856f44c1
commit 90a5d8f473
2 changed files with 93 additions and 0 deletions

View File

@@ -126,6 +126,13 @@ if (HAVE_LIBFIDO2)
)
endif (HAVE_LIBFIDO2)
if (WITH_SFTP)
set(LIBSSH_UNIT_TESTS
${LIBSSH_UNIT_TESTS}
torture_unit_sftp
)
endif (WITH_SFTP)
foreach(_UNIT_TEST ${LIBSSH_UNIT_TESTS})
add_cmocka_test(${_UNIT_TEST}
SOURCES ${_UNIT_TEST}.c