Commit Briefs

7e33421e91 Stefan Sperling

CHANGES for 0.130 (tags/0.130)


1408789c5d Stefan Sperling

sync dist file list





b3b0bea809 Stefan Sperling

default to using SHA256 object IDs in newly created repositories

Also flip the default for all our test suites to SHA256. Discussed with Thomas Adam for -portable.


331a7a534d Stefan Sperling

use PATH_MAX instead of _POSIX_PATH_MAX because the latter is too small

libc APIs such as realpath(3) implicitly assume an output buffer which can store at least PATH_MAX bytes. Using _POSIX_PATH_MAX instead is not safe for such APIs. Pointed out by martijn@, discussed with thomas adam for -portable


ec26929e01 Stefan Sperling

use realpath(p, NULL) instead of realpath(p, buf)

Some buffers use _POSIX_PATH_MAX instead of PATH_MAX and might overflow. Pointed out by martijn@


e89c5ddbae Stefan Sperling

move buffers of size GOT_PKT_MAX off the stack

unbreaks the build on OpenBSD/alpha for martijn@



66e6dcbacf Stefan Sperling

revise send_info fix: send an invalid hash algorithm instead of erroring out

gotsysctl looks at this algo field to find out whether a printable commit-ID is present in the structure.





27fdcf6761 Stefan Sperling

typo in gotd test README









cdd126b14a Stefan Sperling

remove sha256 caveat note from gotd manual page


608b13e7c4 Stefan Sperling

don't rely on pack->algo where not really needed