Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: Rename ssh_config_get_str(). | Andreas Schneider | 2013-06-02 | 1 | -11/+11 |
| | |||||
* | opts: Fix segfault in option parser. | Andreas Schneider | 2013-06-02 | 1 | -3/+11 |
| | |||||
* | getpass: Don't fail if stdin is not a tty. | Andreas Schneider | 2013-04-05 | 1 | -23/+27 |
| | | | | | We don't need to manipulate the tty state (such as turning off echo) when prompting for passwords if we're not reading from a tty. | ||||
* | cmake: Fix installation path for some strange platforms. | Andreas Schneider | 2013-03-20 | 1 | -13/+13 |
| | |||||
* | priv: Make really sure memset doesn't get optimzed out. | Andreas Schneider | 2013-03-13 | 1 | -2/+2 |
| | |||||
* | poll: return error on poll() when pollset is empty | Aris Adamantiadis | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | cmake: Fix config include dir variable name. | Andreas Schneider | 2013-02-13 | 2 | -2/+2 |
| | |||||
* | cmake: Add cmake config files for new find_package() mode. | Andreas Schneider | 2013-02-12 | 5 | -0/+44 |
| | |||||
* | cmake: Fix setting -D_FORTIFY_SOURCE=2. | Andreas Schneider | 2013-02-07 | 1 | -6/+8 |
| | |||||
* | socket: Call data handler as long as handler takes data. | Johannes Krude | 2013-01-29 | 1 | -4/+6 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | include: Fix the LGPL header. | Andreas Schneider | 2013-01-23 | 35 | -402/+409 |
| | | | | | This has been reported by rpmlint: libssh-devel.x86_64: W: incorrect-fsf-address libssh.h | ||||
* | BUG 99: Fix string function if no build type is set. | Andreas Schneider | 2013-01-22 | 1 | -1/+1 |
| | |||||
* | options: Fix a free crash bug if we parse unknown options. | Andreas Schneider | 2013-01-22 | 1 | -6/+8 |
| | | | | Thanks to Yong Chuan Koh, X-Force Research <kohyc@sg.ibm.com> | ||||
* | Report according status when errors are detected | Aris Adamantiadis | 2012-12-27 | 2 | -3/+19 |
| | |||||
* | Test for bug #64, ssh_channel_read doesn't detect errors | Aris Adamantiadis | 2012-12-27 | 1 | -0/+108 |
| | |||||
* | cmake: Only set -D_FORTIFY_SOURCE=2 if we have optimizations. | Andreas Schneider | 2012-12-25 | 1 | -4/+7 |
| | |||||
* | Benchmarks: parse config files | Aris Adamantiadis | 2012-12-23 | 1 | -0/+1 |
| | |||||
* | Fix channel_write to wait during key reexchanges | Aris Adamantiadis | 2012-12-23 | 1 | -1/+20 |
| | |||||
* | Implement key re-exchange | Aris Adamantiadis | 2012-12-23 | 8 | -14/+48 |
| | |||||
* | BUG 82: Fix function names of ssh_forward_*. | Andreas Schneider | 2012-12-19 | 1 | -5/+5 |
| | |||||
* | doc: Fix forward function names. | Andreas Schneider | 2012-12-19 | 1 | -2/+2 |
| | |||||
* | Fix an invalid strlen comparison in ssh_message_auth_reply_default | Andrew Collins | 2012-12-19 | 1 | -1/+1 |
| | | | | | | | | | During the transition to strncat in ssh_message_auth_reply_default, an invalid strlen comparison was added which causes the function to fail whenever it's called. Signed-off-by: Andrew Collins <bsderandrew@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | string: Fix memory leak in ssh_string_to_char(). | Andreas Schneider | 2012-12-13 | 1 | -6/+6 |
| | | | | This was probably a mistake by me fixing up a patch after merging. | ||||
* | BUG 97: Fix strtoull() detection on serveral platforms. | Andreas Schneider | 2012-12-03 | 3 | -1/+21 |
| | |||||
* | BUG 96: Guard ntohll() and htonll prototypes correctly. | Andreas Schneider | 2012-12-03 | 3 | -1/+10 |
| | |||||
* | BUG 98: Use __attribute__ ((packed)) only with GCC. | Andreas Schneider | 2012-12-03 | 1 | -1/+1 |
| | |||||
* | BUG 97: Remove obsolete hsterror(). | Andreas Schneider | 2012-12-03 | 2 | -18/+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. | ||||
* | BUG 94: Fix big endian issue. | Andreas Schneider | 2012-12-03 | 1 | -3/+5 |
| | |||||
* | test: Try to fetch wrong values in buffer. | Aris Adamantiadis | 2012-11-27 | 1 | -0/+33 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | priv: Add BURN_BUFFER macro and make sure it isn't optimzed out. | Andreas Schneider | 2012-11-23 | 1 | -2/+5 |
| | |||||
* | pki: Add a size limit for pubkey files. | Andreas Schneider | 2012-11-21 | 2 | -1/+3 |
| | |||||
* | CVE-2012-4559: Make sure we don't free name and longname twice on error. | Andreas Schneider | 2012-11-14 | 1 | -10/+16 |
| | |||||
* | CVE-2012-4559: Ensure that we don't free req twice. | Andreas Schneider | 2012-11-14 | 1 | -1/+1 |
| | |||||
* | CVE-2012-4560: Fix a write one past the end of 'buf'. | Andreas Schneider | 2012-11-14 | 1 | -2/+3 |
| | |||||
* | CVE-2012-4560: Fix a write one past the end of the 'u' buffer. | Andreas Schneider | 2012-11-14 | 1 | -1/+1 |
| | |||||
* | CVE-2012-4562: Fix a possible infinite loop in buffer_reinit(). | Andreas Schneider | 2012-11-14 | 1 | -4/+9 |
| | | | | | If needed is bigger than the highest power of two or a which fits in an integer we will loop forever. | ||||
* | CVE-2012-4562: Fix multiple integer overflows in buffer-related functions. | Xi Wang | 2012-11-14 | 1 | -5/+21 |
| | |||||
* | CVE-2012-4562: Fix possible integer overflows. | Xi Wang | 2012-11-14 | 1 | -2/+14 |
| | |||||
* | CVE-2012-4562: Fix possible integer overflow in ssh_get_hexa(). | Xi Wang | 2012-11-14 | 1 | -0/+5 |
| | | | | No exploit known, but it is better to check the string length. | ||||
* | pki: Fix integer overflow in ssh_pki_import_privkey_file(). | Xi Wang | 2012-10-22 | 1 | -0/+5 |
| | | | | | If the file size is ULONG_MAX, the call to malloc() may allocate a small buffer, leading to a memory corruption. | ||||
* | channels: Fix integer overflow in generate_cookie(). | Xi Wang | 2012-10-22 | 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. | ||||
* | channels1: Add missing request_state and set it to accepted. | Andreas Schneider | 2012-10-22 | 1 | -0/+1 |
| | | | | This fixes bug #88. | ||||
* | auth1: Reset error state to no error. | Andreas Schneider | 2012-10-22 | 1 | -0/+1 |
| | | | | This fixes bug #89. | ||||
* | session: Fix a possible use after free in ssh_free(). | Andreas Schneider | 2012-10-22 | 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! | ||||
* | cmake: Set GNU compiler flags also for clang. | Andreas Schneider | 2012-10-22 | 1 | -2/+3 |
| | |||||
* | cmake: Add message if we build with static library. | Andreas Schneider | 2012-10-15 | 1 | -0/+1 |
| | |||||
* | doc: Update copyright policy. | Andreas Schneider | 2012-10-14 | 2 | -28/+198 |
| | |||||
* | options: Fix documentation of ssh_options_get_port(). | Andreas Schneider | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | doc: Update doxygen config. | Andreas Schneider | 2012-10-14 | 1 | -134/+423 |
| | |||||
* | doc: Use the correct channel functions. | Andreas Schneider | 2012-10-14 | 1 | -5/+5 |
| |