Skip to content

sequencer-owns-gpg-sign-v1

parent 28d6daed4f119940ace31e523b3b272d3d153d04
author Johannes Schindelin <johannes.schindelin@gmx.de> 1513941895 +0100
committer Johannes Schindelin <johannes.schindelin@gmx.de> 1513943106 +0100

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>

Submitted-As: https://public-inbox.org/git/f4420880aa4ee73b7c8e435de1efccf9a969fd41.1513943347.git.johannes.schindelin@gmx.de
Assets 2