Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/net Pull up revision 1.43 (requested by itojun):
details: https://anonhg.NetBSD.org/src/rev/5698d07a7eda
branches: netbsd-1-5
changeset: 489920:5698d07a7eda
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 13:38:13 2000 +0000
description:
Pull up revision 1.43 (requested by itojun):
Prevent stack overwrite due to bzero() argument mistake.
diffstat:
sys/net/rtsock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1d484c0721e5 -r 5698d07a7eda sys/net/rtsock.c
--- a/sys/net/rtsock.c Thu Oct 19 13:34:55 2000 +0000
+++ b/sys/net/rtsock.c Thu Oct 19 13:38:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.40 2000/04/15 17:51:28 simonb Exp $ */
+/* $NetBSD: rtsock.c,v 1.40.4.1 2000/10/19 13:38:13 he Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -693,7 +693,7 @@
raw_input(m, &route_proto, &route_src, &route_dst);
#ifdef COMPAT_14
bzero(&info, sizeof(info));
- bzero(&oifm, sizeof(ifm));
+ bzero(&oifm, sizeof(oifm));
oifm.ifm_index = ifp->if_index;
oifm.ifm_flags = ifp->if_flags;
oifm.ifm_data.ifi_type = ifp->if_data.ifi_type;
Home |
Main Index |
Thread Index |
Old Index