Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-12-03 | BUG 97: Remove obsolete hsterror(). | Andreas Schneider | 1 | -12/+1 | |
This function is pretty much obsolete on most platforms. The standard errno should be used. If it is not enough on Windows we should use WSAGetLastError() in future. | |||||
2012-12-03 | BUG 94: Fix big endian issue. | Andreas Schneider | 1 | -3/+5 | |
2012-11-21 | pki: Add a size limit for pubkey files. | Andreas Schneider | 1 | -1/+1 | |
2012-11-14 | CVE-2012-4559: Make sure we don't free name and longname twice on error. | Andreas Schneider | 1 | -10/+16 | |
2012-11-14 | CVE-2012-4559: Ensure that we don't free req twice. | Andreas Schneider | 1 | -1/+1 | |
2012-11-14 | CVE-2012-4560: Fix a write one past the end of 'buf'. | Andreas Schneider | 1 | -2/+3 | |
2012-11-14 | CVE-2012-4560: Fix a write one past the end of the 'u' buffer. | Andreas Schneider | 1 | -1/+1 | |
2012-11-14 | CVE-2012-4562: Fix a possible infinite loop in buffer_reinit(). | Andreas Schneider | 1 | -4/+9 | |
If needed is bigger than the highest power of two or a which fits in an integer we will loop forever. | |||||
2012-11-14 | CVE-2012-4562: Fix multiple integer overflows in buffer-related functions. | Xi Wang | 1 | -5/+21 | |
2012-11-14 | CVE-2012-4562: Fix possible integer overflows. | Xi Wang | 1 | -2/+14 | |
2012-11-14 | CVE-2012-4562: Fix possible integer overflow in ssh_get_hexa(). | Xi Wang | 1 | -0/+5 | |
No exploit known, but it is better to check the string length. | |||||
2012-10-22 | pki: Fix integer overflow in ssh_pki_import_privkey_file(). | Xi Wang | 1 | -0/+5 | |
If the file size is ULONG_MAX, the call to malloc() may allocate a small buffer, leading to a memory corruption. | |||||
2012-10-22 | channels: Fix integer overflow in generate_cookie(). | Xi Wang | 1 | -1/+1 | |
Since the type of rnd[i] is signed char, (rnd[i] >> 4), which is considered as arithmetic shift by gcc, could be negative, leading to out-of-bounds read. | |||||
2012-10-22 | channels1: Add missing request_state and set it to accepted. | Andreas Schneider | 1 | -0/+1 | |
This fixes bug #88. | |||||
2012-10-22 | auth1: Reset error state to no error. | Andreas Schneider | 1 | -0/+1 | |
This fixes bug #89. | |||||
2012-10-22 | session: Fix a possible use after free in ssh_free(). | Andreas Schneider | 1 | -33/+54 | |
We need to cleanup the channels first cause we call ssh_channel_close() on the channels which still require a working socket and poll context. Thanks to sh4rm4! | |||||
2012-10-14 | options: Fix documentation of ssh_options_get_port(). | Andreas Schneider | 1 | -1/+1 | |
2012-10-12 | kex: Use getter functions to access kex arrays. | Andreas Schneider | 3 | -7/+23 | |
This should fix the build on OpenIndiana. | |||||
2012-10-12 | scp: Make sure buffer is initialzed. | Andreas Schneider | 1 | -1/+1 | |
Found by Coverity. | |||||
2012-10-12 | pki: Make sure the key_buf is null terminated. | Andreas Schneider | 1 | -0/+1 | |
Found by Coverity. | |||||
2012-10-12 | misc: Use a fixed buffer for getenv(). | Andreas Schneider | 1 | -2/+8 | |
2012-10-12 | poll: Fix sizeof in ssh_poll_ctx_resize(). | Andreas Schneider | 1 | -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-12 | legacy: Use snprintf instead of sprintf. | Andreas Schneider | 1 | -2/+3 | |
Found by Coverity. | |||||
2012-10-12 | dh: Don't use strcat for ssh_get_hexa(). | Andreas Schneider | 1 | -9/+8 | |
This is just hardening the code. Found by Coverity. | |||||
2012-10-12 | server: Use strncat instead of strcat. | Andreas Schneider | 1 | -4/+12 | |
This is just hardening the code. Found by Coverity. | |||||
2012-10-12 | misc: Use strncpy instead of strcat. | Andreas Schneider | 1 | -1/+1 | |
This is just hardening the code. Found by Coverity. | |||||
2012-10-12 | pki: Fix a possible null pointer dereference. | Andreas Schneider | 1 | -3/+3 | |
Found by Coverity. | |||||
2012-10-12 | messages: Fix memory leaks in user request callback. | Andreas Schneider | 1 | -54/+41 | |
2012-10-12 | connect: Don't leak the addressinfo on error. | Andreas Schneider | 1 | -0/+1 | |
2012-10-12 | connect: Don't leak the file descriptor on error. | Andreas Schneider | 1 | -0/+1 | |
Found by Coverity. | |||||
2012-10-12 | session: Don't leak memory in ssh_send_debug(). | Andreas Schneider | 1 | -4/+4 | |
Found by Coverity. | |||||
2012-10-12 | channels: Don't leak memory in channel_rcv_request callback. | Andreas Schneider | 1 | -0/+1 | |
Found by Coverity. | |||||
2012-10-12 | auth: Don't leak memory on error in info request callback. | Andreas Schneider | 1 | -3/+5 | |
Found by Coverity. | |||||
2012-10-12 | dh: Don't leak 'f' on error. | Andreas Schneider | 1 | -5/+6 | |
Found by Coverity. | |||||
2012-10-12 | legacy: Don't leak the key struct on error. | Andreas Schneider | 1 | -0/+1 | |
Found by Coverity. | |||||
2012-10-12 | server: Don't leak memory on calling ssh_string_from_char(). | Andreas Schneider | 1 | -8/+32 | |
Also check the return values. Found by Coverity. | |||||
2012-10-12 | pki: Don't leak the signature on error paths. | Andreas Schneider | 1 | -0/+2 | |
Found by Coverity. | |||||
2012-10-12 | sftp: Don't leak owner and group in sftp_parse_attr_4. | Andreas Schneider | 1 | -6/+15 | |
2012-10-12 | known_hosts: Don't leak memory in ssh_write_knownhost error paths. | Andreas Schneider | 1 | -0/+8 | |
Found by Coverity. | |||||
2012-10-12 | agent: Fix some memory leaks in error paths. | Andreas Schneider | 1 | -0/+4 | |
Found by Coverity. | |||||
2012-10-12 | options: Check return code of ssh_iterator_value. | Andreas Schneider | 1 | -1/+5 | |
Found by Coverity. | |||||
2012-10-12 | kex: Don't compare an array to null. | Andreas Schneider | 1 | -4/+4 | |
Found by Coverity. | |||||
2012-10-12 | string: Don't compare an array to null. | Andreas Schneider | 1 | -4/+10 | |
Found by Coverity. | |||||
2012-10-12 | message: Set correct request type. | Andreas Schneider | 1 | -1/+1 | |
Found by Coverity. | |||||
2012-10-12 | sftpserver: Add missing break statement. | Andreas Schneider | 1 | -0/+1 | |
Found by Coverity. | |||||
2012-10-12 | server: Fix for loop to free server methods. | Andreas Schneider | 1 | -1/+1 | |
Found by Coverity. | |||||
2012-10-09 | client: If session is NULL we can't set an error. | Andreas Schneider | 1 | -1/+0 | |
Found by Coverity. | |||||
2012-10-09 | match: Don't dereference 's' directly. | Andreas Schneider | 1 | -2/+6 | |
Found by Coverity. | |||||
2012-10-09 | auth: Make error handling code reachable again. | Andreas Schneider | 1 | -5/+5 | |
Found by Coverity. | |||||
2012-10-09 | pki: Make error handling code reachable again. | Andreas Schneider | 1 | -1/+1 | |
Found by Coverity. |