Commit Briefs

d75b4088b0 Stefan Sperling

set zlib output buffer length properly after resizing the output buffer

ok millert naddy


a9bd296d05 Stefan Sperling

fix infinite loop in got-index-pack for pack files >= 4GB in size

Because of a missing range check our zlib wrapper would end up calling zlib over and over with zero bytes of input. Problem reported by semarie and naddy. Fixed with help from millert@. ok millert naddy


30ee8dc804 Stefan Sperling

add missing error check in got_inflate_to_mem_mmap()


31e61ec13d Christian Weisgerber

match the unsigned char type used by the zlib interface

ok stsp


abc59930d5 Christian Weisgerber

indentation fixes




62d463cac1 Christian Weisgerber

indentation fixes


3168e5da21 Stefan Sperling

zap trailing tabs


81a12da586 Christian Weisgerber

do not rely on <zlib.h> to pull in <unistd.h>

ok stsp




2e5a6faddc Stefan Sperling

add mmap support to got-index-pack





2decf4c6ad Stefan Sperling

make output buffer optional for got_inflate_to_mem{,_fd}()







8baa7d2656 Stefan Sperling

retry on Z_BUF_ERROR in got_inflate_read() as well



6331840f53 Stefan Sperling

fix got_error_from_errno() arguments in inflate.c