libgit2/include
Patrick Steinhardt dc851d9eae commit: clear user-provided buffers
The functions `git_commit_header_field` and
`git_commit_extract_signature` both receive buffers used to hand back
the results to the user. While these functions called `git_buf_sanitize`
on these buffers, this is not the right thing to do, as it will simply
initialize or zero-terminate passed buffers. As we want to overwrite
contents, we instead have to call `git_buf_clear` to completely reset
them.
2017-02-13 13:50:52 +01:00
..
git2 commit: clear user-provided buffers 2017-02-13 13:50:52 +01:00
git2.h proxy: introduce a proxy options struct 2016-04-19 13:54:19 +02:00