terminate taler-exchange-offline on invalid inputs

This commit is contained in:
Christian Grothoff 2023-01-17 17:52:39 +01:00
parent abb692f02d
commit c60e6184fd
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -3322,7 +3322,7 @@ tofu_check (const struct TALER_SecurityModulePublicKeySetP *secmset)
* @param signkeys keys to output * @param signkeys keys to output
* @return #GNUNET_OK on success * @return #GNUNET_OK on success
*/ */
static int static enum GNUNET_GenericReturnValue
show_signkeys (const struct TALER_SecurityModulePublicKeyP *secm_pub, show_signkeys (const struct TALER_SecurityModulePublicKeyP *secm_pub,
const json_t *signkeys) const json_t *signkeys)
{ {
@ -4353,6 +4353,9 @@ cmd_handler (char *const *args,
cmds[i].name, cmds[i].name,
cmds[i].help); cmds[i].help);
} }
json_decref (out);
out = NULL;
GNUNET_SCHEDULER_shutdown ();
} }