Subject: Re: [libssh2] #196: using libssh2_channel_read crushes

Re: [libssh2] #196: using libssh2_channel_read crushes

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Wed, 10 Nov 2010 15:21:40 -0000

#196: using libssh2_channel_read crushes
---------------------------------------------------------------------------------------+
  Reporter: www.google.com/accounts/o8/id?id=aitoawk50cbnsiuuqgylsi_oyi14_ymtafn1cjc | Owner: bagder
      Type: defect | Status: accepted
  Priority: high | Milestone: 1.2.7
 Component: API | Version: 1.2.7
Resolution: | Keywords:
    Blocks: | Blocked By:
---------------------------------------------------------------------------------------+
Changes (by bagder):

  * owner: => bagder
  * status: new => accepted

Comment:

 That would mean that 'session' is a bad pointer in there. Have you tried
 running your app using valgrind?

 Also, can you try writing up a small example source that can repeat this?
 You seem to be using the sftp example code, but that doesn't use
 channel_read...

 We've done a lot of SFTP improvements in the code lately, you may want to
 consider trying a recent daily snapshot/git repo version.

-- 
Ticket URL: <http://trac.libssh2.org/ticket/196#comment:1>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-10