Subject: [libssh2] bug in example/simple/sftp.c

[libssh2] bug in example/simple/sftp.c

From: <junk_at_igrspace.com>
Date: Mon, 24 Sep 2007 04:58:45 -0700 (PDT)

hello,

line 150 prevents example/simple/sftp.c from running as it is supposed to.

userauthlist = libssh2_userauth_list(session, username, sizeof(username));

it should be

userauthlist = libssh2_userauth_list(session, username, strlen(username));

Immanuel Gregoire

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-09-24