mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-11 10:25:14 +00:00
![]() When git_oid_to_string() was passed a buffer size larger than GIT_OID_HEXSZ+1, the function placed the c-string NUL char at the wrong position. Fix the code to place the NUL at the end of the (possibly truncated) oid string. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> |
||
---|---|---|
src | ||
tests | ||
.gitignore | ||
.HEADER | ||
api.doxygen | ||
CONVENTIONS | ||
COPYING | ||
git.git-authors | ||
libgit2.pc.in | ||
Makefile |