Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | buffer: Cleanup vaargs in ssh_buffer_unpack_va() | Andreas Schneider | 2015-05-04 | 1 | -0/+1 |
| | | | | | | CID: #1267977 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | buffers: Fix a possible null pointer dereference | Aris Adamantiadis | 2015-04-23 | 1 | -0/+8 |
| | | | | | | | | | This is an addition to CVE-2015-3146 to fix the null pointer dereference. The patch is not required to fix the CVE but prevents issues in future. Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | buffer: buffer_pack & unpack on non-gnu compilers | Aris Adamantiadis | 2015-02-08 | 1 | -6/+14 |
| | |||||
* | buffer: Abort if the canary is not intact in ssh_buffer_unpack() | Andreas Schneider | 2015-02-02 | 1 | -2/+2 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | buffer: buffer: Improve argument checking of in ssh_buffer_pack() | Andreas Schneider | 2015-02-02 | 1 | -5/+28 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | buffer: Abort if the canary is not intact in ssh_buffer_unpack() | Andreas Schneider | 2015-02-02 | 1 | -4/+4 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | buffer: Improve argument checking in ssh_buffer_pack() | Andreas Schneider | 2015-02-02 | 1 | -5/+26 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | buffer: Add a secure buffer mechanism to avoid memory spills | Aris Adamantiadis | 2014-09-07 | 1 | -9/+40 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | buffer: Implement "t" for text in ssh_buffer_pack(). | Aris Adamantiadis | 2014-09-07 | 1 | -1/+8 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | buffer: Make sure rc is initialized. | Andreas Schneider | 2014-08-15 | 1 | -2/+2 |
| | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be> | ||||
* | bignums: detach bignum-related functions from dh.c. | Aris Adamantiadis | 2014-08-06 | 1 | -1/+1 |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | buffer: add a hidden canary to detect format errors | Aris Adamantiadis | 2014-08-06 | 1 | -3/+16 |
| | | | | Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | Buffer: add ssh_buffer_(un)pack() | Aris Adamantiadis | 2014-08-06 | 1 | -0/+295 |
| | | | | | | | That function permits chaining of buffer values to minimize buffer handling in packet sending code. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | src: Rename buffer_add_data() to ssh_buffer_add_data(). | Andreas Schneider | 2014-01-19 | 1 | -27/+50 |
| | |||||
* | src: Rename buffer_init to ssh_buffer_init(). | Andreas Schneider | 2014-01-19 | 1 | -1/+2 |
| | |||||
* | 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 |
| | |||||
* | build: Fix missing struct in_addr warning. | Andreas Schneider | 2012-07-17 | 1 | -0/+1 |
| | |||||
* | resolve memory consumption bug | Aris Adamantiadis | 2010-10-03 | 1 | -1/+17 |
| | |||||
* | Fix prepend bug | Aris Adamantiadis | 2010-10-03 | 1 | -4/+14 |
| | |||||
* | Removed references to ssh_buffer_get_begin | Aris Adamantiadis | 2010-10-03 | 1 | -1/+1 |
| | |||||
* | Fix #ifdef'ed erroneous debug code in buffer.c | Aris Adamantiadis | 2010-09-09 | 1 | -1/+1 |
| | |||||
* | misc: Rename libssh/ to src/ | Andreas Schneider | 2010-09-06 | 1 | -0/+578 |