#259: [PATCH] _libssh2_packet_add sends uninitialized data
---------------------+--------------------
Reporter: ncm | Owner: bagder
Type: defect | Status: closed
Priority: normal | Milestone: 1.4.3
Component: misc | Version: 1.4.2
Resolution: fixed | Keywords:
Blocked By: | Blocks:
---------------------+--------------------
Changes (by bagder):
* owner: => bagder
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"8da30ea4d4f6269ffbf1b365098f63c1c9971669/libssh2"]:
{{{
#!CommitTicketReference repository="libssh2"
revision="8da30ea4d4f6269ffbf1b365098f63c1c9971669"
_libssh2_packet_add: avoid using uninitialized memory
In _libssh2_packet_add, called by _libssh2_packet_read, a call to
_libssh2_packet_send that is supposed to send a one-byte message
SSH_MSG_REQUEST_FAILURE would send an uninitialized byte upon re-entry
if its call to _send returns _EAGAIN.
Fixes #259
}}}
-- Ticket URL: <https://trac.libssh2.org/ticket/259#comment:2> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2013-09-07