mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Merge pull request #2991 from sba1/fix-uninitialized-data-access-remote-update-tips
Initialize refs vector in git_remote_update_tips().
This commit is contained in:
commit
f0593a6b52
@ -1458,7 +1458,7 @@ int git_remote_update_tips(
|
|||||||
const char *reflog_message)
|
const char *reflog_message)
|
||||||
{
|
{
|
||||||
git_refspec *spec, tagspec;
|
git_refspec *spec, tagspec;
|
||||||
git_vector refs;
|
git_vector refs = GIT_VECTOR_INIT;
|
||||||
int error;
|
int error;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user