From 44b3213ccedd3a2f4ef67229b881d6c2045f2c3f Mon Sep 17 00:00:00 2001
From: Alice Frosi <afrosi@redhat.com>
Date: Thu, 16 Feb 2023 13:10:53 +0100
Subject: actiosn: fix intialization for a_inject_a

---
 actions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/actions.c b/actions.c
index 9741699..bb31732 100644
--- a/actions.c
+++ b/actions.c
@@ -217,6 +217,7 @@ int do_actions(struct action actions[], unsigned int n_actions, int pid,
 			resp_fd.newfd = actions[i].inj.newfd;
 			resp_fd.srcfd = actions[i].inj.oldfd;
 			resp_fd.flags |= SECCOMP_ADDFD_FLAG_SETFD;
+			resp_fd.newfd_flags = 0;
 			if (send_inject_target(&resp_fd, notifyfd) == -1)
 				return -1;
 			break;
-- 
cgit v1.2.3