diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 4ec9209da767..0f3d456e7dc6 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -149,7 +149,7 @@ int ripng_send_packet(caddr_t buf, int bufsize, struct sockaddr_in6 *to, struct msghdr msg; struct iovec iov; struct cmsghdr *cmsgptr; - char adata[256]; + char adata[256] = {}; struct in6_pktinfo *pkt; struct sockaddr_in6 addr;