Unverified Commit 952cf714 by Edward Thomson Committed by GitHub

Merge pull request #4537 from pks-t/pks/tests-filemode-uninitialized-memory

tests: index::filemodes: fix use of uninitialized memory
parents f1ad004c cabe16df
......@@ -264,6 +264,7 @@ void test_index_filemodes__frombuffer_requires_files(void)
const git_index_entry *ret_entry;
const char *content = "hey there\n";
memset(&new_entry, 0, sizeof(new_entry));
cl_git_pass(git_repository_index(&index, g_repo));
/* regular blob */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment