Commit Briefs
NUL-terminate empty logmsg buffer for strlcat(3)
Because the logmsg output buffer was not NUL-terminated after allocation, strlcat(3) could append log message contents copied from the temporary file at a wrong memory location. In the case observed by me, this bug resulted in a broken commit object.