path: root/libssh
AgeCommit message (Collapse)AuthorFilesLines
2010-01-26Fix underflow when leave_function() are unbalancedv0-3Aris Adamantiadis1-1/+0
2009-09-24Fixed SSH1 support.Andreas Schneider1-2/+2
2009-09-15Fixed build with mingw.Andreas Schneider1-1/+1
2009-09-14Fix a possible stack overflow in agent code.Andreas Schneider1-4/+1
2009-09-13Fix the security bug found by Orange LabsAris Adamantiadis1-2/+8
Verify the length of decrypt operation is a multiple of blocksize
2009-09-09Add a portable ssh_mkdir function for Windows.Andreas Schneider3-1/+29
2009-09-08Add a sftp_tell64() function.Andreas Schneider1-1/+5
2009-09-08Fix the free calls and use the safe free macro.Andreas Schneider1-6/+6
2009-09-08Add missing NULL pointer checks to crypt_set_algorithms_server.Andreas Schneider1-4/+5
Thanks to Orange Labs for the report.
2009-09-08Fix an integer overflow in buffer_get_data().Andreas Schneider1-2/+7
Thanks to Orange Labs for the report.
2009-08-26Fix ssh_write_knownhost() if ~/.ssh doesn't exist.Andreas Schneider1-3/+22
2009-08-26Added ssh_basename() and ssh_dirname().Andreas Schneider1-0/+109
2009-08-16Fix double free pointer crash in dsa_public_to_stringVic Lee1-1/+0
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-16Fix channel_get_exit_status bug reported by VicLeeAris Adamantiadis1-1/+3
It would return -1 if the channel received the exit status and the close message at same time.
2009-08-13fix ssh_finalize which didn't clear the flagAris Adamantiadis1-0/+1
2009-08-12Fix memory leak introduced by previous bugfixAris Adamantiadis1-2/+3
2009-08-10Fixed channel_poll broken when delayed EOF recvdAris Adamantiadis1-0/+3
Previous code returned SSH_EOF even if data was left in buffer
2009-08-10Fixed stupid "can't parse known host key" bugAris Adamantiadis1-0/+1
due to a dangling \n in the base64 ...
2009-08-07Fix possible memory corruption (#14)milo7-24/+24
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-30Cleanup the libssh.map file and order it alphabetically.Andreas Schneider1-53/+176
2009-07-29Add ssh_init to the map file.Andreas Schneider1-1/+1
2009-07-29ssh_init()Aris Adamantiadis3-12/+20
fixes in client.c and server.c for this git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@778 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-07-29Check for OpenSSH and implement sftp_symlink correct.Andreas Schneider2-5/+59
When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained.
2009-07-29Fix SSH1 compilation.Andreas Schneider6-26/+30
2009-07-25Update map file.Andreas Schneider1-0/+1
2009-07-25Add sftp_readlink function.Andreas Schneider1-0/+74
2009-07-25Add sftp_symlink function.Andreas Schneider1-0/+83
2009-07-23Fix a segfault if a NULL pointer is passed to ssh_disconnect().Andreas Schneider1-3/+2
2009-07-23Don't segfault if the session or the answer is NULL.Andreas Schneider1-1/+1
2009-07-23Fix ssh_write_knownhost() which always returned -1.Andreas Schneider1-1/+1
fwrite() return the the number of items written not the size of the buffer.
2009-07-23Make the ssh_userauth_kbdint functions to get the prompts const.Andreas Schneider1-3/+3
They shouldn't be modified or free'd by a user.
2009-07-14Fix build on windows, missing include.release-0-3-1Andreas Schneider1-0/+2
2009-07-14Fix doxygen to match SSH_SERVER_FILE_NOT_FOUND fixAris Adamantiadis1-1/+4
2009-07-13Added return code SSH_SERVER_FILE_NOT_FOUNDAris Adamantiadis1-2/+2
This error is returned by ssh_is_server_known when known_hosts file does not exist and gives more action to the developer.
2009-07-02Fixed Could not write as much data as expected msgAris Adamantiadis1-1/+1
Bug caused by verifying the size of the buffer in the wrong place
2009-06-23Fixed memory leak in ssh_is_server_known()Aris Adamantiadis1-0/+2
2009-06-23Fixed yet another read-after-free bugAris Adamantiadis1-2/+3
read of a buffer len after free in sftp_write()
2009-06-21Fixed a use-after-free in match_hashed_host()Aris Adamantiadis1-1/+1
2009-06-21Fix doublefree bug found by CyrilAris Adamantiadis1-10/+20
2009-06-20Fix a memory leak in ssh_message_free().Andreas Schneider1-0/+2
2009-06-20Fixed potential format string attacksAris Adamantiadis1-4/+4
Potential format string attacks on error reporting in channels.c
2009-06-10Simply leave the function, this should prevent a segfault.Andreas Schneider1-1/+2
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@777 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-06-10Fix a infinite loop on error.Andreas Schneider1-1/+3
Thanks to Milo for the pointer. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@776 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-06-09Fix a possible crash bug.Andreas Schneider1-4/+4
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@775 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-06-09Fix build warnings.Andreas Schneider15-2/+65
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-06-04Make use of poll() and add a poll-emulation for win32.Andreas Schneider3-96/+208
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@772 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-23Fix compilation of SSHv1.Andreas Schneider1-2/+2
Patch by Norbert Kiesel. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@770 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-13Add missing vim modeline.Andreas Schneider1-0/+1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@765 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-13Fix some compiler warnings on windows.Andreas Schneider2-7/+8
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@764 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-12Fix the vim modeline and place it at the end of the file.Andreas Schneider32-78/+35
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c