Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
fa948752
Commit
fa948752
authored
7 years ago
by
Edward Thomson
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4277 from pks-t/pks/merge-coverity-fix
merge: fix potential free of uninitialized memory
parents
40294f38
4dc87e72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/merge.c
+1
-1
No files found.
src/merge.c
View file @
fa948752
...
...
@@ -1165,7 +1165,7 @@ static int merge_diff_mark_similarity_exact(
{
size_t
i
,
j
;
git_merge_diff
*
conflict_src
,
*
conflict_tgt
;
git_oidmap
*
ours_deletes_by_oid
,
*
theirs_deletes_by_oid
;
git_oidmap
*
ours_deletes_by_oid
=
NULL
,
*
theirs_deletes_by_oid
=
NULL
;
int
error
=
0
;
if
(
!
(
ours_deletes_by_oid
=
git_oidmap_alloc
())
||
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment