mirror of
https://github.com/git/git.git
synced 2026-01-09 01:34:00 +00:00
Merge branch 'tc/last-modified-active-paths-optimization' into tc/memzero-array
* tc/last-modified-active-paths-optimization: last-modified: fix use of uninitialized memory
This commit is contained in:
@@ -327,7 +327,7 @@ static void process_parent(struct last_modified *lm,
|
||||
if (!(parent->object.flags & PARENT1))
|
||||
active_paths_free(lm, parent);
|
||||
|
||||
memset(lm->scratch->words, 0x0, lm->scratch->word_alloc);
|
||||
memset(lm->scratch->words, 0x0, lm->scratch->word_alloc * sizeof(eword_t));
|
||||
diff_queue_clear(&diff_queued_diff);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user