From b9aafa7ebfe3934d6fe8f1bef8587994c8ce7d93 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 30 Sep 2021 12:22:59 +0200 Subject: [PATCH] vici: Clear all request messages in case they contain secrets --- src/libcharon/plugins/vici/vici_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/plugins/vici/vici_socket.c b/src/libcharon/plugins/vici/vici_socket.c index 58d33587d..29e4b0176 100644 --- a/src/libcharon/plugins/vici/vici_socket.c +++ b/src/libcharon/plugins/vici/vici_socket.c @@ -506,7 +506,7 @@ CALLBACK(process_queue, job_requeue_t, break; } - thread_cleanup_push(free, chunk.ptr); + thread_cleanup_push((void*)chunk_clear, &chunk); sel->this->inbound(sel->this->user, id, chunk); thread_cleanup_pop(TRUE); } -- 2.47.3