Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
libgit2.6334
libgit2-init-commit-message.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgit2-init-commit-message.patch of Package libgit2.6334
diff --git a/src/commit.c b/src/commit.c index 227d5c4..86c9c75 100644 --- a/src/commit.c +++ b/src/commit.c @@ -401,8 +401,10 @@ int git_commit__parse(void *_commit, git_odb_object *odb_obj) /* extract commit message */ if (buffer <= buffer_end) { commit->raw_message = git__strndup(buffer, buffer_end - buffer); - GITERR_CHECK_ALLOC(commit->raw_message); } + else + commit->raw_message = git__strdup(""); + GITERR_CHECK_ALLOC(commit->raw_message); return 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor