Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.sbin/map-mbone Pull up revision 1.9 (requested by i...
details: https://anonhg.NetBSD.org/src/rev/0fdf0235410b
branches: netbsd-1-6
changeset: 527711:0fdf0235410b
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Jun 04 11:56:40 2002 +0000
description:
Pull up revision 1.9 (requested by itojun in ticket #140):
missing memset() for sockaddr. from deraadt
diffstat:
usr.sbin/map-mbone/mapper.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 8b5d5cbb8fe2 -r 0fdf0235410b usr.sbin/map-mbone/mapper.c
--- a/usr.sbin/map-mbone/mapper.c Tue Jun 04 11:52:48 2002 +0000
+++ b/usr.sbin/map-mbone/mapper.c Tue Jun 04 11:56:40 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mapper.c,v 1.8 2001/09/24 13:22:37 wiz Exp $ */
+/* $NetBSD: mapper.c,v 1.8.2.1 2002/06/04 11:56:40 lukem Exp $ */
/* Mapper for connections between MRouteD multicast routers.
* Written by Pavel Curtis <Pavel%PARC.Xerox.Com@localhost>
@@ -921,6 +921,7 @@
struct sockaddr_in addr;
int addrlen = sizeof(addr);
+ memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
#if (defined(BSD) && (BSD >= 199103))
addr.sin_len = sizeof addr;
Home |
Main Index |
Thread Index |
Old Index