diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-17 18:35:28 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-17 18:35:28 -0400 |
commit | f0593a6b5215b85bfcf4ef07643395710ebe4e37 (patch) | |
tree | e8e5bed08ffb403f59ef7af566c9fc19ed4980b4 | |
parent | 9bbc8f350b80a5a6e94651ec667cf9e5d545b317 (diff) | |
parent | cdedef4061faa0d79604575c0cd75421210e8680 (diff) | |
download | libgit2-f0593a6b5215b85bfcf4ef07643395710ebe4e37.tar.gz |
Merge pull request #2991 from sba1/fix-uninitialized-data-access-remote-update-tips
Initialize refs vector in git_remote_update_tips().
-rw-r--r-- | src/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c index 4924bf83a..bdb4b31df 100644 --- a/src/remote.c +++ b/src/remote.c @@ -1458,7 +1458,7 @@ int git_remote_update_tips( const char *reflog_message) { git_refspec *spec, tagspec; - git_vector refs; + git_vector refs = GIT_VECTOR_INIT; int error; size_t i; |