Commits
- Commit:
2aef7b234d92623c36d4b113d21ed5ecc010a926
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug a memory leak on error in got_gotconfig_read()
ok op@
- Commit:
1b2f32fbcbbab1e5f19815a91667ebc56dd2463f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing check for errors from got_gotconfig_read() in open_worktree()
- Commit:
6ca25bfcab74e714d1227f536dd9ccaf8f9e8155
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got.conf(5) warn about remotes configured in locally-shared repositories
- Commit:
f7065961155cb464f66b5189bf6103ab84afab3f
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sort getopt() option lists and switch statements; patch by Josiah Frentsos
- Commit:
fe3b549558bc8ece8daf1251ea28f84cb1b63c47
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix off_t type mismatch in gotd
see e082ed67; ok stsp@
- Commit:
aa75acde9c5f406b658c54827bc596cf96d7c64e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check size before calling mmap(2)
It's only a preparatory step, as checking whether a size_t is less than
SIZE_MAX is moot. In a follow-up commit, however, the `filesize' field
of the struct got_pack will become off_t and these checks will kick in.
This also makes consistent how we guard mmap(2) against empty files.
ok and improvements stsp@
- Commit:
6cf83e6acc490e33ba4d6792960b0f4f2bc8b674
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add bounds check when reading a delta offset from a packed object
ok stsp@
- Commit:
30d415a5040946f62a5e9e8c6bf6ccf7f5509541
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing `goto done;' on error path; ok stsp@
- Commit:
5ba3f0ff81d32a78a1ba9d28b017049cad05247e
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix spelling of "FastCGI"; patch by Josiah Frentsos; ok op@
- Commit:
04fb0dd80d172753f311cfa4fdd0e15b107240bd
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix off_t type mismatch
off_t is a signed type and depending on the platform, it can be
"long" or "long long", so cast to long long for printf().
- Commit:
4f29e1f17c1ebcccb0eb8893ec0dd9cdc6037a00
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rebase.sh: remove accidentally included absolute path to "got"
- Commit:
5ac853dcba225c4b61cc2f49edbdb657c9ae0bba
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotd(8) usage() string; patch by Josiah Frentsos
- Commit:
bf3ab20628c2f092c3ddea4787a49621986abd07
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix regression test failures with Git 3.30.5 / 2.38.1 or later installed
The fix for CVE-2022-39253 in Git made our regression tests fail since
creating submodules from local clones is no longer allowed by default.
Add an override to our invocations of "git submodule add", the same
which was added to Git's regression test suite as part of their fix.
This CVE doesn't otherwise affect us. We do not implement submodules.
Our use of them in regression tests exists only to ensure that Got does not
freak out when it sees one. Precisely because automated support for nested
repositories and/or working copies (as in Git Submodules, or Subversion
Externals, etc.) have been an endless source of security problems in
other systems.
sudden test failures pointed out by naddy@
- Commit:
2424a69df90c2e63ec0640ae982b316106698760
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
change got_pack_parse_offset_delta tslen argument to size_t
The tslen argument is always in the (1..9) range so `int' is technically
fine (even int8_t would be!) but all the callers are passing a size_t,
so change the type accordingly.
ok stsp@
- Commit:
53968af20b9d32ed534dbcb5c2a429bbf67e036c
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotsh.1: Use Sx for referencing EXAMPLES; patch by Josiah Frentsos
- Commit:
dd7562e6d1e86d5768526f2bd17089e5c8be4152
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Set next version
- Commit:
e6ef48a9d4e506755058cf8aadafaf6820228e17
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.77
- Commit:
3bb32ea88a530388905895980a2ad05e1691d618
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
71bb2eff4b74dc3fbde0749f4d3229ea60225c88
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.77
- Commit:
e72def18155fca792de130424df65f682b5ab5be
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
do not require gotd(8) to be installed in /usr/local; dev builds go to ~/bin/
- Commit:
bc86081f6e8a812b584db78c679362859462f5ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync distfile list
- Commit:
27a7eb2334fa33dee50546dc3b0d8cd4eb770923
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid printing harmless errors that can occur when tog exits due to Ctrl-C
ok jamsek
- Commit:
dd9026fb89b06cb5c386738b9991cdc6d95ce9b0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix typo in gotsh.1
ok stsp@
- Commit:
47cc6e779191771a207495fd7e4d1cbe915f71d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix detection of SIGTERM in tog; this signal was accidentally being ignored
ok jamsek
- Commit:
a6ca45d5dd6d6fe622d1a0c2bf771551f13c20dd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
close parent's end of imsg pipe before waiting for a child process to exit
Prevents a dead-lock in 'tog log' where tog wants to exit (e.g. because
the user pressed Ctrl-C) while a got-read-pack child process wants to
send more commits.
Closing the parent's pipe descriptor makes writes to the pipe fail in
the child process. The child then unwinds via an ERR_EOF error and
exits, instead of forever polling its end of the pipe in order to
write more data.
ok jamsek