[PATCH 3/4] pam_tty_audit: Make coverity happy with msg_flags initialization.
Robin Hack
rhack at redhat.com
Wed Aug 13 12:27:11 UTC 2014
---
modules/pam_tty_audit/pam_tty_audit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/pam_tty_audit/pam_tty_audit.c b/modules/pam_tty_audit/pam_tty_audit.c
index b6f53be..6003f4e 100644
--- a/modules/pam_tty_audit/pam_tty_audit.c
+++ b/modules/pam_tty_audit/pam_tty_audit.c
@@ -120,6 +120,7 @@ nl_recv (int fd, unsigned type, void *buf, size_t size)
msg.msg_iovlen = 1;
msg.msg_control = NULL;
msg.msg_controllen = 0;
+ msg.msg_flags = 0;
if (type != NLMSG_ERROR)
{
res = recvmsg (fd, &msg, MSG_PEEK);
--
1.9.3
More information about the Pam-list
mailing list