Commit Briefs

Omar Polo

replace malloc+memcpy with strndup. no functional change intended

ok stsp@


Mark Jamsek

got: minor refactor of got_pathlist_free() API

Accept flag parameter to optionally specify which pointers to free. This saves callers looping through the list to free pointers. ok + fix stsp@


Mark Jamsek

fix uninitialised fildes variables in libexec helpers

Reviewed and uncovered as part of the diff in the forthcoming commit (pathlist API refactor). ok stsp@


Omar Polo

always cast ctype' is*() arguments to unsigned char

ok stsp@


Stefan Sperling

make 'got clone -b' work for repositories which lack a HEAD reference

ok op@



Stefan Sperling

got-fetch-pack: fix wrong memmove length leading to dubious checksum failures

ok millert tracey



Omar Polo

fix snprintf error handling

follow the "proper secure idiom" described in the CAVEATS section of printf(3). reminded by tb@ and millert@


Omar Polo

convert two snprintf to strlcpy

"looks good to me" millert@




Stefan Sperling

plug memory leaks in got-fetch-pack and got-send-pack

ok naddy


Stefan Sperling

let 'got fetch' send all references to the server to avoid redundant downloads

Problem reported by naddy. ok naddy