RHBA-2012:1048

Type: Bug fix
Severity: None
Published: 2012-06-28
Red Hat Enterprise Linux 6

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

Data current

Last supporting evidence check: 2026-11-27T22:33:05.683Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T22:33:05.683Z UTC. Last updated 2026-10-07T04:43:58.907Z 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

Interested in being alerted when there are new versions of libssh2 and the other packages? Set up an alert.
RHBA-2012:1048: libssh2 bug fix update | Package Alert