summaryrefslogtreecommitdiff
path: root/t/t5515/fetch.br-unconfig_branches-default
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-12-22 12:50:50 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-22 13:34:28 -0800
commited1e52822ea4a8493855d9b8be1049d561946137 (patch)
tree0c2cfc83ccc0791528f84ca5392e769f5adf9de3 /t/t5515/fetch.br-unconfig_branches-default
parentsequencer: improve config handling (diff)
downloadtgif-ed1e52822ea4a8493855d9b8be1049d561946137.tar.xz
sequencer: assign only free()able strings to gpg_sign
The gpg_sign member of the replay_opts structure is of type `char *`, meaning that the sequencer deems the string to which gpg_sign points to be under its custody, i.e. it needs to be free()d by the sequencer. Therefore, let's only assign malloc()ed buffers to it. Reported-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-unconfig_branches-default')
0 files changed, 0 insertions, 0 deletions