summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-04-05 11:22:19 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-11-25 11:42:03 +0000
commite0f3c33d5a505f5341300351c2fcc493929a932f (patch)
tree1591d06d80df6e7e68d6ad3bacf8305599243717 /src/commit.c
parentcb4bfbc99dffa7679f42cf8500931fa250bb7db3 (diff)
downloadlibgit2-e0f3c33d5a505f5341300351c2fcc493929a932f.tar.gz
buffer: git_buf_copy_cstr should return a value
`git_buf_copy_cstr` is called with user-input, and wants to sanity-check that input. Allow it to return a value if the input was malformed in a way that we cannot cope.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions