From 6a33dc6cb1546acf3c5db982e3f44b41bff67b05 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Fri, 18 Oct 2013 01:16:08 +0200 Subject: pflocal: fix message flags on receive * pflocal/socket.c (S_socket_recv): Set the memory pointed by out_flags to 0 instead of the pointer. --- pflocal/socket.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pflocal/socket.c') diff --git a/pflocal/socket.c b/pflocal/socket.c index c5c97352..7142c6ef 100644 --- a/pflocal/socket.c +++ b/pflocal/socket.c @@ -411,8 +411,7 @@ S_socket_recv (struct sock_user *user, *addr = MACH_PORT_NULL; } - /* Fill in OUT_FLAGS from from any corresponding ones in FLAGS. */ - out_flags = 0; + *out_flags = 0; return err; } -- cgit v1.2.3