mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 01:52:34 +00:00
Merge pull request #2969 from brauner/2019-05-01/seccomp_fixes
seccomp: ensure fields are set to 0
This commit is contained in:
commit
0b5afd323e
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user