summaryrefslogtreecommitdiff
path: root/Documentation/git-replace.txt
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-02-09 21:28:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-02-10 18:31:48 (GMT)
commite60059276b26db5760e36aa85cf1091f662430fb (patch)
tree0e107adab2b3b6ad7e093be2adec357f81f1e611 /Documentation/git-replace.txt
parent3d8a54eb37d298c251c0b6823dc06935a611bc33 (diff)
downloadgit-e60059276b26db5760e36aa85cf1091f662430fb.zip
git-e60059276b26db5760e36aa85cf1091f662430fb.tar.gz
git-e60059276b26db5760e36aa85cf1091f662430fb.tar.bz2
builtin/blame: destroy initialized commit_info only
Since ea02ffa3 (mailmap: simplify map_user() interface, 2013-01-05), find_alignment() has been invoking commit_info_destroy() on an uninitialized auto 'struct commit_info' (when METAINFO_SHOWN is not set). commit_info_destroy() calls strbuf_release() for each 'commit_info' strbuf member, which randomly invokes free() on whatever random stack value happens to reside in strbuf.buf, thus leading to periodic crashes. Reported-by: Dilyan Palauzov <dilyan.palauzov@aegee.org> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-replace.txt')
0 files changed, 0 insertions, 0 deletions