This update for libssh2_org fixes the following issues:
libssh2_org was upgraded to version 1.11.0 in SUSE Linux Enterprise Server 12 SP5 (jsc#PED-5721)
Version update to 1.11.0:
Version update to 1.10.0:
Version update to 1.9.0: [bsc#1178083, jsc#SLE-16922]
Update to 1.7.0
- Changes:
- libssh2sessionsetlasterror: Add function
- mac: Add support for HMAC-SHA-256 and HMAC-SHA-512
- kex: Added diffie-hellman-group-exchange-sha256 support
- many bugfixes
Update to 1.6.0
Changes:
- Added libssh2userauthpublickey_frommemory()
Bug fixes:
- wait_socket: wrong use of difftime()
- userauth: Fixed prompt text no longer being copied to the prompts struct
- mingw build: allow to pass custom CFLAGS
- Let mansyntax.sh work regardless of where it is called from
Init HMAC_CTX before using it
- direct_tcpip: Fixed channel write
- WinCNG: fixed backend breakage
- OpenSSL: caused by introducing libssh2hmacctx_init
- userauth.c: fix possible dereferences of a null pointer
- wincng: Added explicit clear memory feature to WinCNG backend
- openssl.c: fix possible segfault in case EVP_DigestInit fails
- wincng: fix return code of libssh2md5init()
- kex: do not ignore failure of libssh2sha1init()
- scp: fix that scp_send may transmit not initialised memory
- scp.c: improved command length calculation
- nonblocking examples: fix warning about unused tvdiff on Mac OS X
- configure: make clear-memory default but WARN if backend unsupported
- OpenSSL: Enable use of OpenSSL that doesn't have DSA
- OpenSSL: Use correct no-blowfish #define
- kex: fix libgcrypt memory leaks of bignum
- libssh2channelopen: more detailed error message
- wincng: fixed memleak in (block) cipher destructor
Update to 1.5.0:
Changes:
- Added Windows Cryptography API: Next Generation based backend
Bug fixes:
- Security Advisory: Using
SSH_MSG_KEXINIT
data unbounded, CVE-2015-1782
- missing libssh2error in libssh2channel_write
- knownhost: Fix DSS keys being detected as unknown.
- knownhost: Restore behaviour of
libssh2_knownhost_writeline
with short buffer.
- libssh2.h: on Windows, a socket is of type SOCKET, not int
- libssh2_priv.h: a 1 bit bit-field should be unsigned
- Fixed two potential use-after-frees of the payload buffer
- Fixed a few memory leaks in error paths
- userauth: Fixed an attempt to free from stack on error
- agentlistidentities: Fixed memory leak on OOM
- knownhosts: Abort if the hosts buffer is too small
- sftpclosehandle: ensure the handle is always closed
- channel_close: Close the channel even in the case of errors
- docs: added missing libssh2sessionhandshake.3 file
- docs: fixed a bunch of typos
- userauth_password: pass on the underlying error code
- libssh2channelforwardcancel: accessed struct after free
- libssh2packet_add: avoid using uninitialized memory
- libssh2channelforwardcancel: avoid memory leaks on error
- libssh2channel_write: client spins on write when window full
- publickeypacketreceive: avoid junk in returned pointers
- channelreceivewindow_adjust: store windows size always
- userauthhostbasedfromfile: zero assign to avoid uninitialized use
- agentconnectunix: make sure there's a trailing zero
- MinGW build: Fixed redefine warnings.
- sftpdir.c: added authentication method detection.
- Watcom build: added support for WinCNG build.
- configure.ac: replace AMCONFIGHEADER with ACCONFIGHEADERS
- sftp_statvfs: fix for servers not supporting statfvs extension
- knownhost.c: use LIBSSH2_FREE macro instead of free
- Fixed compilation using mingw-w64
- knownhost.c: fixed that 'keytypelen' may be used uninitialized
- configure: Display individual crypto backends on separate lines
- agent.c: check return code of MapViewOfFile
- kex.c: fix possible NULL pointer de-reference with session->kex
- packet.c: fix possible NULL pointer de-reference within listen_state
- userauth.c: improve readability and clarity of for-loops
- packet.c: i < 256 was always true and i would overflow to 0
- kex.c: make sure mlist is not set to NULL
- session.c: check return value of session_nonblock in debug mode
- session.c: check return value of session_nonblock during startup
- userauth.c: make sure that sp_len is positive and avoid overflows
- knownhost.c: fix use of uninitialized argument variable wrote
- openssl: initialise the digest context before calling EVP_DigestInit()
- libssh2agentinit: init ->fd to LIBSSH2INVALIDSOCKET
- configure.ac: Add zlib to Requires.private in libssh2.pc if using zlib
- configure.ac: Rework crypto library detection
- configure.ac: Reorder --with-* options in --help output
- configure.ac: Call zlib zlib and not libz in text but keep option names
- Fix non-autotools builds: Always define the LIBSSH2_OPENSSL CPP macro
- sftp: seek: Don't flush buffers on same offset
- sftp: statvfs: Along error path, reset the correct 'state' variable.
- sftp: Add support for fsync (OpenSSH extension).
- libssh2channel_read: fix data drop when out of window
- compmethodzlib_decomp: Improve buffer growing algorithm
- libssh2channelread: Honour windowsize_initial
- window_size: redid window handling for flow control reasons
- knownhosts: handle unknown key types