]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
rebase -i: set commit to null in exec commands
authorLiam Beguin <liambeguin@gmail.com>
Sun, 3 Dec 2017 22:17:15 +0000 (17:17 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Dec 2017 17:02:21 +0000 (09:02 -0800)
commit7dcbb3cb6d4f06ff305e5a18dba873261d3fa5d3
treeee7da85597b6eaf7698e817cad86cc2bf83dd2f8
parentf3b633dad4cc54c7cdaa007e97d00b2c935c9a90
rebase -i: set commit to null in exec commands

Make sure commit is set to NULL when parsing exec instructions
from the todo list. If not, we may try to access an uninitialized
address later while updating the todo list.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c