RHBA-2012:1048
The libssh2 packages provide a library that implements the SSH2 protocol. This update fixes the following bug: * Previously, libssh2 incorrectly returned the LIBSSH2_ERROR_EAGAIN error code when operating in blocking mode. The error code is used by libssh2 internally to initiate a blocking operation on a socket. The error code was, however, not properly cleared on success and leaked through the public API of libssh2. An upstream patch has been applied to clear the error code prior to initiating the blocking operation, and libssh2 no longer returns LIBSSH2_ERROR_EAGAIN when operating in blocking mode. (BZ#834211) All users of libssh2 are advised to upgrade to these updated packages, which fix this bug. After installing these updated packages, all running applications using libssh2 have to be restarted for this update to take effect.
Evidence and freshness
Last supporting evidence check: 2026-11-27T22:33:05.683Z UTC
Upstream Advisory
Affected Packages
libssh2 1.2.2-11.el6_3
libssh2-devel 1.2.2-11.el6_3
libssh2-docs 1.2.2-11.el6_3