Commits
- Commit:
b43d5a6cd3a253c93c9cc25574997ac4aac7a4f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
upate number elements stored in the delta cache when removing an element
- Commit:
e62fc5205c7c439d072229d8be922ea30e8d8024
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing free() of delta buffers in several error paths
- Commit:
99f7567eaa6fad9b271f55d1469fcd383bb13205
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce delta cache size to avoid running out of memory on large pack files
As reported by Jerome Kasper, got-index-pack would run out of memory while
cloning projects like LLVM or the Linux kernel. The delta cache was pushed
to its maximum size limit of ~2GB, which is much higher than the default
user data limit on OpenBSD. Set the delta cache size limits to values which
should result in the cache limiting itself to 128MB or less.
- Commit:
22f6beb0dae033aa1e023e1d849d5cede058e002
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add dedicated compilation flag for the delta cache, separate from object cache
- Commit:
0fc5e2291f12e5d2a36b4c850747157fcc365682
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zero-initialize all of struct got_deflate_buf in got_deflate_init()
Fixes a potential bogus free on error.
got_deflate_end() relies on zb.flags to be initialized. It will try to free
a bogus zb.outbuf pointer if zb.flags happens to set by uninitialized stack
memory while we are calling got_deflate_end() in an error path.
- Commit:
08603e79bbb2bb6324cad8aa08311f2f47f8822d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zero-initialize all of struct got_inflate_buf in got_inflate_init()
Fixes a potential bogus free on error.
got_inflate_end() relies on zb.flags to be initialized. It will try to free
a bogus zb.outbuf pointer if zb.flags happens to set by uninitialized stack
memory while we are calling got_inflate_end() in an error path.
- Commit:
ca7cfae029f0cbca1f65f326025744f627b69d92
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd work as intended on an empty repository; regression test is upcoming
- Commit:
c6b5adb85da13d21aa8937805dce16fedb07272b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix sending of capabilities from gotsh(1) in case repository has no refs
- Commit:
110104b65c5b511d6e99058e536c132ab962d863
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix crash in got-send-pack when server does not announce any capabilities
- Commit:
758dc042e8fc2399dc58d96ce6d80b4a0adf4705
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
36c7cfbb2a9b646bfb1658fca4e34bc63a46ec42
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix crash in gotd if client gets disconnected on error; reported by Mikhail
- Commit:
9f76ccc895126c4a0a81b1183342e0888850cdcc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync files from diff.git 29c010c8648ec861ee463bc8fa8c66a64dd01154
This brings in a build fix for OpenBSD/sparc64.
- Commit:
3462996772bca8558a4b9cf84f8e4113600ae27b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
changelog markup fix
- Commit:
587ef511663c745b04d4e196de887eccf6aef124
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
9925a128def444f625b69428713dbbf413e6468c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.78