aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
AgeCommit message (Expand)AuthorFilesLines
2018-08-01buffer: Add and use ssh_buffer_allocate_size()Pino Toscano1-0/+28
2018-06-29Rest in Peace SSHv1Andreas Schneider1-35/+0
2018-06-28Remove vim modelines from all filesAndreas Schneider1-2/+0
2018-06-04buffer: Add ssh_buffer_allocate() functionAris Adamantiadis1-0/+38
2018-04-18buffer: Do not call explicit_bzero with null argumentsNikos Mavrogiannopoulos1-1/+3
2018-04-18buffer: Do not call memcpy with null argumentsNikos Mavrogiannopoulos1-3/+5
2018-04-18buffer: Apply coding style to ssh_buffer_reinit()Andreas Schneider1-10/+12
2018-04-18buffer: Apply coding style to realloc_buffer()Andreas Schneider1-30/+30
2018-02-12src: Use explicit_bzero() if available on the platformAndreas Schneider1-5/+5
2017-10-28Fix config.h includesAndreas Schneider1-2/+2
2017-04-13buffer: Validate the length before before memory allocationAndreas Schneider1-2/+19
2017-04-13buffer: Create ssh_buffer_validate_length()Andreas Schneider1-4/+28
2017-04-13Revert "buffer: Create ssh_buffer_validate_length()"Andreas Schneider1-21/+3
2017-04-13Revert "buffer: Validate the length before before memory allocation"Andreas Schneider1-19/+2
2017-04-13buffer: Validate the length before before memory allocationAndreas Schneider1-2/+19
2017-04-13buffer: Create ssh_buffer_validate_length()Andreas Schneider1-3/+21
2017-02-06buffer: Use calloc to allocate a zero'ed bufferAndreas Schneider1-3/+3
2016-01-19buffer: expose ssh_buffer_get()Fabiano Fidêncio1-2/+0
2016-01-19buffer: expose ssh_buffer_{add,get}_data()Fabiano Fidêncio1-4/+0
2016-01-19buffer: expose ssh_buffer_reinit()Fabiano Fidêncio1-2/+0
2016-01-19buffer: remove ssh_buffer_get_begin()Fabiano Fidêncio1-17/+0
2016-01-19buffer: remove ssh_buffer_get_rest_len()Fabiano Fidêncio1-16/+1
2016-01-19buffer: do not use ssh_buffer_get_rest_len()Fabiano Fidêncio1-2/+2
2016-01-19buffer: make ssh_buffer_get_len() call ssh_buffer_get_rest_len()Fabiano Fidêncio1-1/+1
2016-01-19buffer: rename ssh_buffer_get_rest() to ssh_buffer_get()Fabiano Fidêncio1-5/+4
2016-01-19buffer: cosmetic change in ssh_buffer_get_u8() documentationFabiano Fidêncio1-1/+1
2016-01-19buffer: fix documentation for ssh_buffer_get_u32()Fabiano Fidêncio1-6/+10
2016-01-19cleanup: use ssh_ prefix in the buffer (non-static) functionsFabiano Fidêncio1-47/+47
2016-01-19cleanup: use ssh_ prefix in the bignum (non-static) functionsFabiano Fidêncio1-1/+1
2016-01-19buffer: Make sure we do not use u32len uninitializedAndreas Schneider1-2/+4
2015-05-04buffer: Cleanup vaargs in ssh_buffer_unpack_va()Andreas Schneider1-0/+1
2015-04-23buffers: Fix a possible null pointer dereferenceAris Adamantiadis1-0/+8
2015-02-08buffer: buffer_pack & unpack on non-gnu compilersAris Adamantiadis1-6/+14
2015-02-02buffer: Abort if the canary is not intact in ssh_buffer_unpack()Andreas Schneider1-2/+2
2015-02-02buffer: buffer: Improve argument checking of in ssh_buffer_pack()Andreas Schneider1-5/+28
2015-02-02buffer: Abort if the canary is not intact in ssh_buffer_unpack()Andreas Schneider1-4/+4
2015-02-02buffer: Improve argument checking in ssh_buffer_pack()Andreas Schneider1-5/+26
2014-09-07buffer: Add a secure buffer mechanism to avoid memory spillsAris Adamantiadis1-9/+40
2014-09-07buffer: Implement "t" for text in ssh_buffer_pack().Aris Adamantiadis1-1/+8
2014-08-15buffer: Make sure rc is initialized.Andreas Schneider1-2/+2
2014-08-06bignums: detach bignum-related functions from dh.c.Aris Adamantiadis1-1/+1
2014-08-06buffer: add a hidden canary to detect format errorsAris Adamantiadis1-3/+16
2014-08-06Buffer: add ssh_buffer_(un)pack()Aris Adamantiadis1-0/+295
2014-01-19src: Rename buffer_add_data() to ssh_buffer_add_data().Andreas Schneider1-27/+50
2014-01-19src: Rename buffer_init to ssh_buffer_init().Andreas Schneider1-1/+2
2012-11-14CVE-2012-4562: Fix a possible infinite loop in buffer_reinit().Andreas Schneider1-4/+9
2012-11-14CVE-2012-4562: Fix multiple integer overflows in buffer-related functions.Xi Wang1-5/+21
2012-07-17build: Fix missing struct in_addr warning.Andreas Schneider1-0/+1
2010-10-03resolve memory consumption bugAris Adamantiadis1-1/+17
2010-10-03Fix prepend bugAris Adamantiadis1-4/+14