aboutsummaryrefslogtreecommitdiff
path: root/src/channels.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-12channels: Don't leak memory in channel_rcv_request callback.Andreas Schneider1-0/+1
Found by Coverity.
2012-10-09channels: Check return values of buffer functions.Andreas Schneider1-2/+9
Found by Coverity.
2012-10-05channel: Fix a possible null pointer dereference.Andreas Schneider1-1/+3
2012-10-05channels: Fix a possible null pointer dereference.Andreas Schneider1-1/+3
2012-10-05channels: Fix a memory leak in ssh_channel_select().Andreas Schneider1-3/+7
2012-09-07channels: Fix return value of ssh_channel_request_pty_size with SSHv1.Andreas Schneider1-1/+1
Thanks to Dmitriy Kuznetsov <dk@yandex.ru>.
2012-07-17build: Fix missing struct in_addr warning.Andreas Schneider1-0/+1
2011-09-23Fix bugs found by clangAris Adamantiadis1-1/+1
2011-09-22channels: fix embarrasing channel_read_nonblocking bugAris Adamantiadis1-7/+5
2011-09-17error: Use macros for error functions.Andreas Schneider1-14/+14
2011-09-14channels: don't send SSH2 packets on SSH1 !Aris Adamantiadis1-0/+7
2011-09-02auth: fix things broken during mergeAris Adamantiadis1-1/+1
2011-09-02Update libssh to ssh_handle_packets_terminationAris Adamantiadis1-114/+129
cherry-picked from 0cb5248 Should resolve all timeout problems Conflicts: src/auth.c src/channels.c
2011-09-02Channels: fix the "server specified invalid channel" bugAris Adamantiadis1-10/+31
Resolved by introducing a flag entry in channel structure.
2011-09-02channel: ssh_channel_read is nonblocking, + docfixesAris Adamantiadis1-16/+46
cherry-picked from 6091147 Conflicts: src/channels.c
2011-09-02channels: replaced bugged lists with ssh_listAris Adamantiadis1-34/+17
cherry-picked from 0aef5f Conflicts: src/session.c
2011-09-02SSH1: fix buildAris Adamantiadis1-1/+1
2011-09-02ssh_select converted to ssh_event, and bugfix to ssh_channel_selectAris Adamantiadis1-13/+17
2011-09-02channels: ssh_channel_select implemented with ssh_pollAris Adamantiadis1-50/+34
Should fix #56
2011-09-02channel: implement ssh_channel_poll_timeoutAris Adamantiadis1-0/+55
Resolves bug #57
2011-09-02Channels: increase window size x10Aris Adamantiadis1-1/+1
Provides me a 3x performance boost for async sftp, 5x for sync sftp (on localhost)
2011-09-02channels: made the remaining calls nonblocking + fix #52Aris Adamantiadis1-22/+59
2011-09-02channels: use hard random for the X11 cookieAris Adamantiadis1-3/+5
We are in a security library or we are not.
2011-09-02channels: made all channel requests nonblockingAris Adamantiadis1-31/+104
2011-08-29channels: Fix possible infinite loop in channel_read().rofl0r1-1/+5
2011-08-10channels: Fix incorrect return values in ssh_channel_write().Andreas Schneider1-3/+13
2011-08-09channels: Handle SSH_AGAIN in channel_open().Andreas Schneider1-5/+8
2011-08-06channels: Fix an endless loop in case of a channel_open error.rofl0r1-0/+4
2011-08-06session: Fix timeout handling.rofl0r1-9/+9
-2 now means to use the timeout specified in options. It wasn't used earlier and poll only knows -1 and 0 anyway for special meanings.
2011-08-06channels: Fix checking for fatal errors.rofl0r1-0/+5
We need this that we don't end up in and infinite poll loop.
2011-08-06channels: Fix ssh_channel_from_local()rofl0r1-14/+15
It only worked if the first channel in the list was equivalent to we were looking for.
2011-08-03channels: Set the max packet size to 32768.Andreas Schneider1-4/+28
2011-05-27Forgot a cast to remove warningsAris Adamantiadis1-2/+2
2011-05-27Fix bug #5, channel_read_nonblocking that blocksAris Adamantiadis1-1/+1
2011-05-20Fixed warnings on MacosX with Xcode4Aris Adamantiadis1-5/+5
2011-05-17channel: Fixed potential use-after-free in ssh_channel_get_exit_status().Oliver Stöneberg1-1/+1
If ssh_channel_get_exit_status() is called more than once and the connection closed.
2011-05-15channel: Improve the request signal documentation.Andreas Schneider1-1/+17
2011-05-02[channels] Added ssh_channel_window_size() and avoided reentrancy in ↵milo1-8/+9
channel_write_common() (cherry picked from commit 27313334578f4acb7ccf0687bba7f76b2febd569)
2011-04-15Fix assertion with Visual Studio because of %zu.Andreas Schneider1-2/+2
2011-04-14Implemented X11 server sidemilo1-0/+63
2011-02-22Check for NULL channel pointersmilo1-8/+116
2011-02-18channel: Fixed a possible NULL pointe dereference.Andreas Schneider1-3/+7
2011-02-18channel: Improve ssh_channel_open_reverse_forward documentation.Bernhard R. Link1-4/+5
2011-02-18channels: set error for new NULL pointer checksBernhard R. Link1-4/+23
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-14channels: Set errors on return.Bernhard R. Link1-2/+80
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-02-14Check for NULL pointers in channels.cmilo1-10/+58
2011-02-04Respect RFC when sending stderr datamilo1-2/+10
http://tools.ietf.org/html/rfc4254#section-5.2 byte SSH_MSG_CHANNEL_EXTENDED_DATA uint32 recipient channel *uint32 data_type_code* string data
2010-12-23channels: Fixed a build warning.Andreas Schneider1-1/+1
2010-12-07Fix from Oleksandr ShneyderAris Adamantiadis1-2/+4
http://www.libssh.org/archive/libssh/2010-11/0000005.html
2010-10-03Removed references to ssh_buffer_get_beginAris Adamantiadis1-6/+6