1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

Commit Graph

  • a7f85944c8 ecdh_crypto: Avoid memory leak on error condition Jakub Jelen 2023-06-28 12:25:53 +02:00
  • 55cabab847 examples: Check for null earlier Jakub Jelen 2023-06-28 12:22:51 +02:00
  • f8a7571a91 scp: Make sure arguments are sane Jakub Jelen 2023-06-28 12:22:27 +02:00
  • 9c19ba7f33 channels: Avoid out-of-bounds writes Jakub Jelen 2023-06-28 12:14:43 +02:00
  • ebea7d9023 session: Avoid potential null dereference on low-memory conditions Jakub Jelen 2023-06-28 10:43:51 +02:00
  • 62f013ae96 sftpserver: Check return value ssh_buffer_get_u32 Jakub Jelen 2023-06-28 10:18:04 +02:00
  • 20dcb8b830 sftpserver: Reformat remaining condition Jakub Jelen 2023-06-28 10:17:47 +02:00
  • 9709a466d7 sftpserver: Set OOM only if allocation fails Jakub Jelen 2023-06-28 10:17:25 +02:00
  • ddfc2e08b9 sftpserver: Initialize pointers Jakub Jelen 2023-06-28 10:14:15 +02:00
  • 9847f3f638 Deprecate SSH_BIND_OPTIONS_{RSA,ECDSA}KEY in favor of generic HOSTKEY Jakub Jelen 2023-06-26 15:00:44 +02:00
  • 1bd690d75f examples: Remove DSA leftovers from sftpserver Jakub Jelen 2023-06-26 14:58:25 +02:00
  • 5b2957f0a7 sftpserver: Avoid unreachable code line Jakub Jelen 2023-06-20 15:18:15 +02:00
  • 812ba3b717 sftp: Check return value of ssh_buffer_add_data Jakub Jelen 2023-06-20 15:09:32 +02:00
  • 4b8db203b0 channels: Refactor channel_rcv_data, check for errors and report more useful errors Jakub Jelen 2023-06-20 14:54:50 +02:00
  • a45b9938fe channels: Reformat channel_rcv_change_window Jakub Jelen 2023-06-20 14:26:59 +02:00
  • e6d2b6c713 sftpserver: Avoid leaking fd and dir on allocation error Jakub Jelen 2023-06-20 14:20:17 +02:00
  • df0a445c87 tests: Clean correctly SFTP context Jakub Jelen 2023-06-01 12:12:27 +02:00
  • 79425f8b92 tests: Remove needless assignemnt and clean memory on errors Jakub Jelen 2023-06-01 12:10:06 +02:00
  • 7009df7b04 sftp: Refromat sftp_open, sftp_opendir Jakub Jelen 2023-06-01 12:05:59 +02:00
  • 6bebac10b7 sftp: Avoid leaking sftp attributes when opening file Jakub Jelen 2023-06-01 11:55:28 +02:00
  • af771cc35f tests: Adjust to the current implementation to correctly free memory Jakub Jelen 2023-05-19 14:58:53 +02:00
  • 213d1c7fd8 tests: Improve sftpserver test coverage Jakub Jelen 2023-03-24 21:12:57 +01:00
  • c024280669 sftp: Clarify the order of arguments for symlink Jakub Jelen 2023-03-27 21:50:16 +02:00
  • baa18d3712 sftp: Properly check bounds of incoming packet Jakub Jelen 2023-03-27 11:33:44 +02:00
  • e5a6dc6757 Allow building benchmarks without SFTP Jakub Jelen 2023-03-27 09:41:54 +02:00
  • cd54390188 sftpserver: Standardize logging on errors Jakub Jelen 2023-03-24 20:28:42 +01:00
  • f09b475c4b sftpserver: Properly handle empty files and EOF while reading Jakub Jelen 2023-03-24 20:28:09 +01:00
  • 3fc30681f4 sftpserver: Properly handle mkdir modes Jakub Jelen 2023-03-24 20:27:14 +01:00
  • 2a0d6d854a sftpserver: Properly handle open modes Jakub Jelen 2023-03-24 20:26:14 +01:00
  • 423bb3c8f0 Deprecate untested function sftp_server_init Jakub Jelen 2023-03-23 20:21:00 +01:00
  • 492317efe9 Rename the sftp_process_init_packet() Jakub Jelen 2023-03-24 11:54:50 +01:00
  • 1fe98800d2 sftpserver: Implement stat and realpath Jakub Jelen 2023-03-23 20:19:25 +01:00
  • 7427090a9f sftpserver: Improve logging Jakub Jelen 2023-03-23 20:18:44 +01:00
  • ff897165ca Reformat most of the sftpserver.c Jakub Jelen 2023-03-23 20:14:53 +01:00
  • d0bfab2549 sftpserver: Fix reading and writing if buffering occurs Jakub Jelen 2023-03-01 11:00:03 +01:00
  • 94cbd58128 Unbreak the build example on alpine Jakub Jelen 2023-01-23 15:16:34 +01:00
  • 691105e93b Remove needless new symbols and add required to API Jakub Jelen 2023-01-23 15:13:58 +01:00
  • 5ea54c8159 sftpserver: Move duplicate code handling SFTP operations to library Jakub Jelen 2023-01-23 09:57:43 +01:00
  • af60e23081 Reformat sftpserver examples and tests and remove unused code Jakub Jelen 2023-01-23 09:59:19 +01:00
  • f1f766f14f Reformat the test sftpserver Jakub Jelen 2023-01-17 14:25:02 +01:00
  • 13b2727023 tests: Fix assertion Jakub Jelen 2023-01-23 10:06:39 +01:00
  • 5854937328 tests: Support libssh server logging into separate file Jakub Jelen 2023-01-20 11:02:04 +01:00
  • 0affa5d705 sftp: Remove duplicate code handling packet types Jakub Jelen 2023-01-12 18:19:11 +01:00
  • 2f45688066 tests: Drop support for DSA Jakub Jelen 2023-01-12 18:18:38 +01:00
  • cb4bdf893d tests: Replace non-english variable names Jakub Jelen 2023-01-12 18:18:04 +01:00
  • 8e1d6e4567 examples: Replace strcpy with snprintf Jakub Jelen 2023-01-11 17:34:01 +01:00
  • 254ec093ff examples: Initialize pointers Jakub Jelen 2023-01-11 17:33:36 +01:00
  • 97e038c6e9 sample_sftpserver: fix format and nit problems tatataeki 2022-11-07 22:31:17 +08:00
  • 8104c19013 sftp: fix problems in sftp APIs and example tatataeki 2022-11-07 22:08:06 +08:00
  • 0a5161a7d1 sftp: fix format problems, style nit and building problems tatataeki 2022-09-12 20:49:14 +08:00
  • 329d53a109 tests: add sftp server test tatataeki 2022-09-06 15:50:41 +08:00
  • 69ad6985de sftp: format modified tatataeki 2022-08-31 21:46:22 +08:00
  • 48d14ee9a9 examples: add sftpserver example and fix problems tatataeki 2022-08-11 11:44:56 +08:00
  • f8bfb5a7a1 sftp: add sftp api for sftpserver tatataeki 2022-08-11 10:21:04 +08:00
  • 4d98390678 CONTRIBUTING: Do not indent case labels nor blocks Jakub Jelen 2023-05-16 18:15:56 +02:00
  • 6a965e0981 Error out if ctx is NULL. Kevin Backhouse 2023-06-02 17:24:29 +01:00
  • c01377081f libgcrypt.c: Fix type mismatches Gerald Combs 2023-06-01 12:42:50 -07:00
  • 5eb8685932 socket.c: Remove bug from documentation as it was solved Norbert Pocs 2023-06-01 10:32:55 +02:00
  • 1c0b8f624e connect.c: Try to connect to other host addresses than just the first Norbert Pocs 2023-05-16 15:03:39 +02:00
  • c4a00ee430 torture_connect: Test bad IPv6 connection trying IPv4 Norbert Pocs 2023-04-19 13:50:20 +02:00
  • 3951bbabd5 Remove remained HAVE_DSA ifdefs and WITH_DSA Norbert Pocs 2023-05-30 16:27:43 +02:00
  • 5c7bfaa5f6 pkd_hello: Run chacha20 tests on dropbear too Norbert Pocs 2023-05-29 16:21:51 +02:00
  • 2bf49e3e65 torture_auth: Add test for MaxAuthTries Norbert Pocs 2023-05-25 13:02:16 +02:00
  • 6424971a98 auth.c: Add termination when server disconnects during authentication Norbert Pocs 2023-05-25 15:27:00 +02:00
  • f7a9c07de3 tests: Skip pkd_hello_i1 under valgrind Jakub Jelen 2023-05-22 11:21:50 +02:00
  • b3f6194122 Fix Hurd build Samuel Thibault 2023-05-18 22:33:46 +02:00
  • 009bbc0546 sftp.c: Avoid null dereference Norbert Pocs 2023-05-19 12:02:52 +02:00
  • 96d7616166 tests: Give the server more time handle rekey Jakub Jelen 2023-05-16 22:55:11 +02:00
  • 241c1ed91a ci: Skip PKCS#11 tests under valgrind Jakub Jelen 2023-04-27 17:16:35 +02:00
  • da815b641b ci: Add valgrind target Jakub Jelen 2023-04-25 17:48:20 +02:00
  • cbd85a48db tests: Hide memory leak from cmocka Jakub Jelen 2023-05-03 15:17:41 +02:00
  • 0813b75799 replace chroot() from chroot_wrapper internal library with chroot() from priv_wrapper package Pavel Filipenský 2022-09-15 09:53:16 +02:00
  • 29ad26db26 tests/pkd: use -L in CMakeLists.txt Jon Simons 2022-11-12 17:18:00 -05:00
  • cd2bf21f9a tests/pkd: support -L, --temp-dir=<mkdtemp-template> Jon Simons 2022-11-12 17:06:31 -05:00
  • ed8b7ea7a7 tests/pkd: relax pthread_kill assert in pkd_stop Jon Simons 2022-11-12 15:36:41 -05:00
  • 105835d542 tests/pkd: free socket wrapper string upon error Jon Simons 2022-11-06 11:34:48 -05:00
  • 31abaec00b tests: Avoid dereferencing freed channels Jakub Jelen 2023-05-03 11:39:56 +02:00
  • 8f463a851c tests: Free dynamically allocated callbacks Jakub Jelen 2023-05-03 11:32:48 +02:00
  • ce7cc49465 test_server: Use dynamically allocated state Jakub Jelen 2023-04-28 18:09:19 +02:00
  • e4bf3b97b4 Avoid memory leaks from the server_auth_kbdint Jakub Jelen 2023-04-28 10:55:15 +02:00
  • 4278499e26 tests: Under valgrind wait for server cleanup longer Jakub Jelen 2023-04-27 17:16:11 +02:00
  • 28dc1ef45b tests: Use sigterm handler for graceful exit Jakub Jelen 2023-04-27 17:09:38 +02:00
  • f80faa89ce tests: Wait longer for the server Jakub Jelen 2023-04-27 15:32:25 +02:00
  • fcb6ee4031 tests: Log server messages to separate file Jakub Jelen 2023-04-27 15:31:52 +02:00
  • 4022ef69f3 test_server: Check for hostkey Jakub Jelen 2023-04-27 15:30:16 +02:00
  • 20f52432fc tests: Support libssh server logging into separate file Jakub Jelen 2023-01-20 11:02:04 +01:00
  • 9b263cf5e1 pki_crypto: Fix ecdsa memory leak roytak 2023-04-21 10:34:00 +02:00
  • 4f64aa3a5a agent: Avoid memory leaks Jakub Jelen 2023-04-26 16:31:42 +02:00
  • 655cda2b0e auth: Avoid memory leaks during agent authentication Jakub Jelen 2023-04-26 15:43:50 +02:00
  • fa94777ed9 ecdh: Avoid memory leaks Jakub Jelen 2023-04-26 15:24:29 +02:00
  • ae59d21e93 tests: Avoid memory leaks Jakub Jelen 2023-04-25 18:19:41 +02:00
  • 70fef935b2 Bump version to 0.9.7 libssh-0.9.7 Jakub Jelen 2023-04-28 11:47:49 +02:00
  • b3d19cc31d CVE-2023-2283:pki_crypto: Remove unnecessary NULL check Norbert Pocs 2023-04-24 11:55:59 +02:00
  • 05de7cb6ac CVE-2023-2283:pki_crypto: Fix possible authentication bypass Norbert Pocs 2023-04-24 11:51:36 +02:00
  • b733df6ddc CVE-2023-1667:tests: Client coverage for key exchange with kex guessing Jakub Jelen 2023-03-17 14:09:14 +01:00
  • 18576cf98f CVE-2023-1667:kex: Add support for sending first_kex_packet_follows flag Jakub Jelen 2023-03-16 11:55:12 +01:00
  • 0c855d2949 CVE-2023-1667:kex: Correctly handle last fields of KEXINIT also in the client side Jakub Jelen 2023-03-10 12:59:48 +01:00
  • aaa3d4fc7d CVE-2023-1667:dh: Expose the callback cleanup functions Jakub Jelen 2023-03-17 14:05:01 +01:00
  • c4f05c28aa CVE-2023-1667:kex: Factor out the kex mapping to internal enum Jakub Jelen 2023-03-16 14:16:11 +01:00
  • abcf9699aa CVE-2023-1667:kex: Remove needless function argument Jakub Jelen 2023-03-13 15:11:25 +01:00