Unverified Commit 0b5afd32 by Stéphane Graber Committed by GitHub

Merge pull request #2969 from brauner/2019-05-01/seccomp_fixes

seccomp: ensure fields are set to 0
parents ea84ddf9 37046066
...@@ -1342,7 +1342,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data, ...@@ -1342,7 +1342,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data,
struct seccomp_notif *req = conf->seccomp.notifier.req_buf; struct seccomp_notif *req = conf->seccomp.notifier.req_buf;
struct seccomp_notif_resp *resp = conf->seccomp.notifier.rsp_buf; struct seccomp_notif_resp *resp = conf->seccomp.notifier.rsp_buf;
int listener_proxy_fd = conf->seccomp.notifier.proxy_fd; int listener_proxy_fd = conf->seccomp.notifier.proxy_fd;
struct seccomp_notify_proxy_msg msg; struct seccomp_notify_proxy_msg msg = {0};
if (listener_proxy_fd < 0) { if (listener_proxy_fd < 0) {
ERROR("No seccomp proxy registered"); ERROR("No seccomp proxy registered");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment