Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/tcpdump Apply patch (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/b0075bb3421c
branches:  netbsd-1-5
changeset: 493122:b0075bb3421c
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 06 20:00:45 2002 +0000

description:
Apply patch (requested by itojun):
  Plug buffer overrun during NFS decoding.
Diff is from dist/tcpdump/nfsfh.h revision 1.1.1.2

diffstat:

 usr.sbin/tcpdump/nfsfh.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r b79ca8645642 -r b0075bb3421c usr.sbin/tcpdump/nfsfh.h
--- a/usr.sbin/tcpdump/nfsfh.h  Thu Jun 06 20:00:19 2002 +0000
+++ b/usr.sbin/tcpdump/nfsfh.h  Thu Jun 06 20:00:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfsfh.h,v 1.4 1997/10/03 19:54:45 christos Exp $       */
+/*     $NetBSD: nfsfh.h,v 1.4.12.1 2002/06/06 20:00:45 he Exp $        */
 
 /*
  * Header: nfsfh.h,v 1.6 96/12/16 03:40:31 leres Exp 
@@ -33,4 +33,4 @@
 #define        fsid_eq(a,b)    ((a.fsid_code == b.fsid_code) &&\
                         dev_eq(a.Fsid_dev, b.Fsid_dev))
 
-extern void Parse_fh(caddr_t *, int, my_fsid *, ino_t *, char **, char **, int);
+extern void Parse_fh(const unsigned char *, int, my_fsid *, ino_t *, const char **, const char **, int);



Home | Main Index | Thread Index | Old Index