aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
AgeCommit message (Expand)AuthorFilesLines
2021-05-27Fixes typo in src/buffer.cSahana Prasad1-1/+1
2020-06-03buffer: Add NULL check for 'buffer' argumentAndreas Schneider1-0/+4
2020-06-03buffer: Reformat ssh_buffer_add_data()Andreas Schneider1-17/+18
2019-09-24buffer: Simplify handling of the return codesJakub Jelen1-6/+2
2019-09-24buffer: Avoid use of uninitialized valuesJakub Jelen1-6/+13
2019-02-07buffer: Fix typo in a commentJakub Jelen1-1/+1
2019-01-24buffer: Convert argc to size_t in ssh_buffer_unpack() as wellBaruch Siach1-12/+13
2019-01-24buffer: Support bignums in ssh_buffer_unpack()Aris Adamantiadis1-0/+20
2018-12-07buffer: Use size_t for argc argument in ssh_buffer_(un)pack()Andreas Schneider1-19/+19
2018-10-24buffer: Fix size comparison with countAndreas Schneider1-3/+3
2018-09-20buffer: Don't call va_end() twiceAndreas Schneider1-1/+0
2018-09-19buffer: Do cleanup if ssh_buffer_unpack() fails in the first loopAndreas Schneider1-1/+3
2018-09-19buffer: Fix invalid memory access in ssh_buffer_unpack()Andreas Schneider1-4/+4
2018-09-18buffer: Make sure unpack of secure buffers securely cleans upJakub Jelen1-4/+35
2018-09-17buffer: Reformat ssh_buffer_get_ssh_stringJakub Jelen1-25/+30
2018-09-17buffer: Fix typoJakub Jelen1-1/+1
2018-09-03buffer: Precalculate the size required for ssh_buffer_pack()Andreas Schneider1-0/+125
2018-09-03buffer: Only reduce the buffer size if it gets bigger than 64KAndreas Schneider1-2/+10
2018-09-03buffer: Only allow to allocate a maximum of 256MBAndreas Schneider1-0/+7
2018-09-03buffer: Always preallocate a buffer with 64 bytesAndreas Schneider1-27/+47
2018-09-03buffer: Rewrite ssh_buffer_free()Andreas Schneider1-12/+16
2018-09-03buffer: Use bool for secure bufferAndreas Schneider1-2/+18
2018-09-03buffer: Reformat buffer_shift()Andreas Schneider1-13/+18
2018-09-03buffer: Cleanup buffer_verifyAndreas Schneider1-18/+33
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