]> The Tcpdump Group git mirrors - tcpdump/blobdiff - smb.h
Bounds-check the individual components of a SAP reply.
[tcpdump] / smb.h
diff --git a/smb.h b/smb.h
index 89bff00c6e4bd7cbd1c7190bae146f05c87b5f8a..8eeb303f91a0572183535d6e8301b3a45f993f3a 100644 (file)
--- a/smb.h
+++ b/smb.h
@@ -1,5 +1,5 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/smb.h,v 1.7 2002-01-17 04:38:29 guy Exp $ (LBL) */
-/* 
+/* @(#) $Header: /tcpdump/master/tcpdump/smb.h,v 1.9 2004-12-28 22:29:44 guy Exp $ (LBL) */
+/*
  * Copyright (C) Andrew Tridgell 1995-1999
  *
  * This software may be distributed either under the terms of the
 #define PTR_DIFF(p1, p2) ((size_t)(((char *)(p1)) - (char *)(p2)))
 
 /* some protos */
-const u_char *smb_fdata(const u_char *, const char *, const u_char *);
+const u_char *smb_fdata(const u_char *, const char *, const u_char *, int);