mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
Prepare for -1 (potentially without null-terminator), and larger than buffer size values. Also: - tackle two cases in example/subsystem_netconf.c. - cap input size at 4 MiB in `transport_debugdump()`. Refs: https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html Closes #2337