|
d75b4088
|
2022-02-08T10:52:17
|
|
set zlib output buffer length properly after resizing the output buffer
ok millert naddy
|
|
a9bd296d
|
2022-02-08T10:48:04
|
|
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
|
|
30ee8dc8
|
2022-01-18T20:51:19
|
|
add missing error check in got_inflate_to_mem_mmap()
|
|
31e61ec1
|
2021-09-28T19:21:33
|
|
match the unsigned char type used by the zlib interface
ok stsp
|
|
abc59930
|
2021-09-05T19:41:03
|
|
indentation fixes
|
|
d5c81d44
|
2021-07-08T11:03:29
|
|
verify object ID checksums while loose objects are being accessed
|
|
12f2167a
|
2021-07-04T16:24:52
|
|
add checksum parameters to got_inflate functions which did not provide them yet
|
|
62d463ca
|
2020-10-20T22:43:59
|
|
indentation fixes
|
|
3168e5da
|
2020-09-10T00:10:55
|
|
zap trailing tabs
|
|
81a12da5
|
2020-09-09T19:35:32
|
|
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
|
|
6ad68bce
|
2020-03-24T15:15:51
|
|
make got-index-pack compute and verify the pack file's SHA1 checksum
|
|
4788f1ce
|
2020-03-18T16:13:46
|
|
extract large objects to a temporary file in got-index-pack
|
|
2e5a6fad
|
2020-03-18T16:13:44
|
|
add mmap support to got-index-pack
|
|
55fdd257
|
2020-03-18T16:13:43
|
|
do not buffer more data than necessary in got_inflate_to_mem_fd()
|
|
5eddcd60
|
2020-03-18T16:13:42
|
|
fix endless loop from 9c2cfea6 if decompressed data exceeds buffer size
|
|
1e87a3c3
|
2020-03-18T16:13:42
|
|
avoid re-reading the entirety of an object's data to calculate the CRC
|
|
2decf4c6
|
2020-03-18T16:13:41
|
|
make output buffer optional for got_inflate_to_mem{,_fd}()
|
|
3ab5e33c
|
2020-03-18T16:13:41
|
|
add optional 'consumed' output parameter to got_inflate_to_mem_fd()
|
|
6fb3a497
|
2020-03-18T16:11:29
|
|
add optional 'consumed' output parameter to got_inflate_to_mem()
|
|
4b570209
|
2020-03-18T16:11:28
|
|
revert a change to inflate_read() from Ori's patch; it breaks got-read-blob
|
|
93658fb9
|
2020-03-18T16:10:30
|
|
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
|
|
ee0cb6f2
|
2020-03-17T13:12:33
|
|
allow inflate(3) to consume all mapped data at once in got_inflate_read_mmap()
|
|
8baa7d26
|
2020-03-17T10:25:06
|
|
retry on Z_BUF_ERROR in got_inflate_read() as well
|
|
686d24ff
|
2020-03-15T13:32:58
|
|
Z_BUF_ERROR is not fatal; try to decompress more data when it happens
|
|
6331840f
|
2019-05-22T13:06:33
|
|
fix got_error_from_errno() arguments in inflate.c
|
|
b3a605ce
|
2019-05-22T12:58:40
|
|
no need to zero memory in got_inflate_to_mem_mmap()
|
|
f2c5fe0e
|
2019-05-22T12:58:26
|
|
no need to zero memory in got_inflate_to_mem_fd()
|
|
6dc3b75a
|
2019-05-22T12:54:14
|
|
no need to zero memory in got_inflate_to_mem()
|
|
638f9024
|
2019-05-13T12:40:57
|
|
rename got_error_prefix_errno() to got_error_from_errno()
|
|
230a42bd
|
2019-05-11T13:04:38
|
|
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
|
|
324d37e7
|
2019-05-11T09:14:30
|
|
make got path APIs available to library consumers
|
|
5211b8c8
|
2019-03-19T13:26:23
|
|
improve error checking around inflateInit()
|
|
23bc48a9
|
2019-03-19T12:55:28
|
|
rename got_zstream_* to got_inflate_*
|
|
17d745b8
|
2018-07-23T17:19:40
|
|
replace reallocarray with recallocarray throughout inflate.c
|
|
666b4ca8
|
2018-07-23T17:03:36
|
|
wrap overlong line
|
|
37bd7602
|
2018-07-23T17:01:35
|
|
fix length calculations in mmap inflate; fixes garbage diffs
|
|
5aef3967
|
2018-07-22T16:25:11
|
|
plug some leaks in inflate.c
|
|
60507209
|
2018-07-13T11:26:37
|
|
fix a leak in got_inflate_to_mem_mmap()
|
|
3efa19e7
|
2018-07-13T10:51:34
|
|
fix more memleaks
|
|
63581804
|
2018-07-09T22:23:00
|
|
rename zbuf to inflate
|