aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-12poll: Fix sizeof in ssh_poll_ctx_resize().Andreas Schneider1-2/+2
sizeof(ssh_poll_handle *) is to be equal to sizeof(ssh_poll_handle), but this is not a portable assumption. Found by Coverity.
2012-10-12legacy: Use snprintf instead of sprintf.Andreas Schneider1-2/+3
Found by Coverity.
2012-10-12dh: Don't use strcat for ssh_get_hexa().Andreas Schneider1-9/+8
This is just hardening the code. Found by Coverity.
2012-10-12server: Use strncat instead of strcat.Andreas Schneider1-4/+12
This is just hardening the code. Found by Coverity.
2012-10-12misc: Use strncpy instead of strcat.Andreas Schneider1-1/+1
This is just hardening the code. Found by Coverity.
2012-10-12pki: Fix a possible null pointer dereference.Andreas Schneider1-3/+3
Found by Coverity.
2012-10-12messages: Fix memory leaks in user request callback.Andreas Schneider1-54/+41
2012-10-12connect: Don't leak the addressinfo on error.Andreas Schneider1-0/+1
2012-10-12connect: Don't leak the file descriptor on error.Andreas Schneider1-0/+1
Found by Coverity.
2012-10-12session: Don't leak memory in ssh_send_debug().Andreas Schneider1-4/+4
Found by Coverity.
2012-10-12channels: Don't leak memory in channel_rcv_request callback.Andreas Schneider1-0/+1
Found by Coverity.
2012-10-12auth: Don't leak memory on error in info request callback.Andreas Schneider1-3/+5
Found by Coverity.
2012-10-12dh: Don't leak 'f' on error.Andreas Schneider1-5/+6
Found by Coverity.
2012-10-12legacy: Don't leak the key struct on error.Andreas Schneider1-0/+1
Found by Coverity.
2012-10-12server: Don't leak memory on calling ssh_string_from_char().Andreas Schneider1-8/+32
Also check the return values. Found by Coverity.
2012-10-12pki: Don't leak the signature on error paths.Andreas Schneider1-0/+2
Found by Coverity.
2012-10-12sftp: Don't leak owner and group in sftp_parse_attr_4.Andreas Schneider1-6/+15
2012-10-12known_hosts: Don't leak memory in ssh_write_knownhost error paths.Andreas Schneider1-0/+8
Found by Coverity.
2012-10-12agent: Fix some memory leaks in error paths.Andreas Schneider1-0/+4
Found by Coverity.
2012-10-12include: Fix an include recursion.Andreas Schneider1-2/+0
It includes itself: libssh.h -> legacy.h -> libssh.h. Found by Coverity.
2012-10-12options: Check return code of ssh_iterator_value.Andreas Schneider1-1/+5
Found by Coverity.
2012-10-12kex: Don't compare an array to null.Andreas Schneider1-4/+4
Found by Coverity.
2012-10-12string: Don't compare an array to null.Andreas Schneider1-4/+10
Found by Coverity.
2012-10-12message: Set correct request type.Andreas Schneider1-1/+1
Found by Coverity.
2012-10-12sftpserver: Add missing break statement.Andreas Schneider1-0/+1
Found by Coverity.
2012-10-12server: Fix for loop to free server methods.Andreas Schneider1-1/+1
Found by Coverity.
2012-10-09client: If session is NULL we can't set an error.Andreas Schneider1-1/+0
Found by Coverity.
2012-10-09match: Don't dereference 's' directly.Andreas Schneider1-2/+6
Found by Coverity.
2012-10-09example: Simplify auth_callback of the client.Andreas Schneider1-24/+3
Found by Coverity.
2012-10-09auth: Make error handling code reachable again.Andreas Schneider1-5/+5
Found by Coverity.
2012-10-09pki: Make error handling code reachable again.Andreas Schneider1-1/+1
Found by Coverity.
2012-10-09socket: Check return value of buffer function.Andreas Schneider1-1/+4
Found by Coverity.
2012-10-09channels: Check return values of buffer functions.Andreas Schneider1-2/+9
Found by Coverity.
2012-10-09scp: Check return value of ssh_channel_poll.Andreas Schneider1-1/+5
Found by Coverity.
2012-10-09packet: Check return values of buffer functions.Andreas Schneider1-2/+8
Found by Coverity.
2012-10-09client: Check return value of ssh_handle_packets_termination.Andreas Schneider1-6/+9
Found by Coverity.
2012-10-09pcap: Check return codes of buffer_add_* functions.Andreas Schneider1-38/+155
Found by Coverity.
2012-10-09torture: Fix keyboard interactive authentication.Andreas Schneider1-2/+1
2012-10-07tests: Make sure the array is null terminated.Andreas Schneider1-2/+2
2012-10-07torture: Use new userauth functions.Andreas Schneider1-3/+10
2012-10-07pki: Don't leak memory in pubkey to blob.Andreas Schneider1-3/+4
2012-10-07pki: Make sure we don't double free pointers.Andreas Schneider1-0/+6
2012-10-07tests: Don't leak memory in options test.Andreas Schneider1-0/+4
2012-10-07pki: Check for no memory available calling ssh_key_new().Andreas Schneider1-0/+4
2012-10-07sftp: Fix a possible null pointer dereference in sftp_async_read.Andreas Schneider1-1/+6
2012-10-07channels1: Fix severa possible null pointer dereferences.Andreas Schneider1-6/+60
2012-10-07pki: Handle error of pki_import_pubkey_buffer() correctly.Andreas Schneider1-1/+3
2012-10-07example: Clear the password.Andreas Schneider1-1/+4
2012-10-07server: Removed unused variable keytype in the ecdsa case.Andreas Schneider1-2/+0
2012-10-07misc: Use size_t for len.Andreas Schneider1-2/+2