Archive Index
This month's Index
|
Subject: [libssh2] [ libssh2-Bugs-1902169 ] second channel creation fails
[libssh2] [ libssh2-Bugs-1902169 ] second channel creation fails
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 28 Feb 2008 03:47:42 -0800
Bugs item #1902169, was opened at 2008-02-26 15:17
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
this is what appears in openssh daemon logs:
Feb 26 15:01:34 biuro sshd[3155]: error: buffer_get_string_ret: bad string length 1702663341
on second channel creation in a program, it would return a NULL channel pointer and give no hint in last_error.
software versions:
----------------------------------------------------------------------
>Comment By: Tefnet (ekatalog)
Message:
I haven't found any other references to direct_state except for this
----------------------------------------------------------------------
Comment By: Tefnet (ekatalog)
Message:
There is a quick fix when running a single channel at a time. Changing
if (session->direct_state == libssh2_NB_state_idle)
to:
if (session->direct_state == libssh2_NB_state_idle || 1)
fixes the problem. Something with direct_stare is messed up. Investigation
----------------------------------------------------------------------
You can respond by visiting:
-------------------------------------------------------------------------
|