summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..master^
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2026-03-08 10:57:02 +0100
committerJunio C Hamano <gitster@pobox.com>2026-03-09 12:34:52 -0700
commitd1f33c753de68f63c945c3213f439081ed11c27b (patch)
treeb1d20ab2a7a56a5a74169b841f38d1acd0d81011 /t/t4013/diff.format-patch_--inline_--stdout_initial..master^
parent1278a26544e81dddf564fd7730890a7e023ed367 (diff)
downloadgit-d1f33c753de68f63c945c3213f439081ed11c27b.tar.gz
git-d1f33c753de68f63c945c3213f439081ed11c27b.zip
history: initialize rev_info in cmd_history_reword()
git history reword expects a single valid revision argument and errors out if it doesn't get it. In that case the struct rev_info passed to release_revisions() for cleanup is still uninitialized, which can result in attempts to free(3) random pointers. Avoid that by initializing the structure. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions