Commits
- Commit:
345f650943608219909e5b5b0e5d77c4c9ca26bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
b5a8f7447cf93c910aa0933817b85799080ce17d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add dedicated compilation flag for the delta cache, separate from object cache
- Commit:
0699dbc20feda4209ace57a148624da7beceb692
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
fedfac2c387cf3b4cb9e3530c517197190dadc2c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
a7e9cbc61974b99b3f64f9ccdb4f6cc50c1ac639
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotd work as intended on an empty repository; regression test is upcoming
- Commit:
ea1f05850232e766bb357cd6de49c4243bcf902b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix sending of capabilities from gotsh(1) in case repository has no refs
- Commit:
e28099979b03e56c094eb0e2f04137b96510f632
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix crash in got-send-pack when server does not announce any capabilities
- Commit:
946e0798ea070c1d164ea048bbbb316f748e7365
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
4859aafde818941279d6e6afc2e419f65906d9ac
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: reorder system_extensions
Cosmetic change only. No functional changes expected.
Via Anna (cybertailor) Vyalkova
- Commit:
47e5cb11ac8fa697272eb25c054157df284e4dd0
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add AM_PROG_AR
Needed for stringent checks on Gentoo. Bug 879825.
Via Anna (cybertailor) Vyalkova.
- Commit:
965fcba660e4b5245c9fafb15153269228e11c9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix crash in gotd if client gets disconnected on error; reported by Mikhail
- Commit:
6dbbfded937c923383970d564ff69f8c7eda2be4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
46d73a3301a4948864f65f7d0c451513216753c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.78
- Commit:
76ab3c0ac4e48abb8703bf8960f72ba889a59bca
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git 29c010c8648ec861ee463bc8fa8c66a64dd01154
This brings in a build fix for OpenBSD/sparc64.
- Commit:
ab1037939416e69e8b2991dca3a055c8bd9a8b66
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
changelog markup fix
- Commit:
02fa198011b1d58aebbd4dcfa1dd12c320bac063
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
82226db16cd39ebdf2d37a63352833367348a851
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.78
- Commit:
48ff6f55f459728134aa80de2dcaccce975d3036
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix free() of wrong address in gotweb's parse.y
Found by sthen via ports-gcc:
gotweb/parse.y:504:3: warning: attempt to free a non-heap object 'file'
- Commit:
db97f624e0d3f6f3e57fdb7961da1b61bb6baad1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove casts which make older gcc versions unhappy
../lib/diffreg.c:44: error: initializer element is not constant
../lib/diffreg.c:51: error: initializer element is not constant
../lib/diffreg.c:59: error: initializer element is not constant
../lib/diffreg.c:66: error: initializer element is not constant
reported by Red on Libera IRC, and by sthen@ who pointed out such
failures appearing in landry's sparc64 bulk build logs.
- Commit:
4ea11ec7029e366447b11f65f43410dcacf235d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix reference counting of raw objects opened via privsep helpers
Such objects were never closed, resulting in memory and file descriptor leaks.
- Commit:
293bc00f96e9792c98d2117397d55ea448cae73b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
visit gotctl folder during make obj, release, and clean
- Commit:
9e1ed038df33a34e2252ef41388131de3e09f6eb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
do not hint at empty temporary diff files in the log message buffer
ok op@
- Commit:
d259e49165acf62d0ffddd9f1cd35a3608783ccf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ensure that files are in a state where a diff can be created, before diffing
ok op@
- Commit:
b5bedbbb00134c51ea21a700b6da9ab45c6e432e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use a global flag instead of a per-file flag to detect staged changes
ok op@
- Commit:
fc2a50f28951c340fb573e7fcb0646ddf93fde8f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use mkstemps(3) instead of mkstemp(3) for opening named temporary files
Allows 'got commit' to use a ".diff" suffix for temporary diff files.
ok op@