summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* buffer: Add a secure buffer mechanism to avoid memory spillsAris Adamantiadis2014-09-071-9/+40
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* buffer: Implement "t" for text in ssh_buffer_pack().Aris Adamantiadis2014-09-071-1/+8
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* buffer: Make sure rc is initialized.Andreas Schneider2014-08-151-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 Adamantiadis2014-08-061-1/+1
| | | | Reviewed-by: Andreas Schneider <asn@samba.org>
* buffer: add a hidden canary to detect format errorsAris Adamantiadis2014-08-061-3/+16
| | | | Reviewed-by: Andreas Schneider <asn@samba.org>
* Buffer: add ssh_buffer_(un)pack()Aris Adamantiadis2014-08-061-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 Schneider2014-01-191-27/+50
|
* src: Rename buffer_init to ssh_buffer_init().Andreas Schneider2014-01-191-1/+2
|
* CVE-2012-4562: Fix a possible infinite loop in buffer_reinit().Andreas Schneider2012-11-141-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 Wang2012-11-141-5/+21
|
* build: Fix missing struct in_addr warning.Andreas Schneider2012-07-171-0/+1
|
* resolve memory consumption bugAris Adamantiadis2010-10-031-1/+17
|
* Fix prepend bugAris Adamantiadis2010-10-031-4/+14
|
* Removed references to ssh_buffer_get_beginAris Adamantiadis2010-10-031-1/+1
|
* Fix #ifdef'ed erroneous debug code in buffer.cAris Adamantiadis2010-09-091-1/+1
|
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-0/+578