aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nfs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-27 23:53:07 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-27 23:53:07 +0000
commitc3d7c67df3a8785925cb73dee146011cffbe43f0 (patch)
treef6acd2ab953ec0ae9a12bfa5ad68205f8bc31e17 /packet-nfs.c
parentdc05624d72054d5c774e1caf1b840f7fb09bd0a7 (diff)
downloadwireshark-c3d7c67df3a8785925cb73dee146011cffbe43f0.tar.gz
wireshark-c3d7c67df3a8785925cb73dee146011cffbe43f0.tar.bz2
wireshark-c3d7c67df3a8785925cb73dee146011cffbe43f0.zip
Make various lengths unsigned in "dissect_fhandle_data_unknown()", so
lengths > 2^31-1 get handled correctly. svn path=/trunk/; revision=8289
Diffstat (limited to 'packet-nfs.c')
-rw-r--r--packet-nfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-nfs.c b/packet-nfs.c
index 0556cd1e43..3fb4138bc2 100644
--- a/packet-nfs.c
+++ b/packet-nfs.c
@@ -2,7 +2,7 @@
* Routines for nfs dissection
* Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de>
* Copyright 2000-2002, Mike Frisch <frisch@hummingbird.com> (NFSv4 decoding)
- * $Id: packet-nfs.c,v 1.91 2003/08/17 21:34:22 sahlberg Exp $
+ * $Id: packet-nfs.c,v 1.92 2003/08/27 23:53:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1353,10 +1353,10 @@ out:
static void
dissect_fhandle_data_unknown(tvbuff_t *tvb, int offset, proto_tree *tree,
- int fhlen)
+ guint fhlen)
{
- int sublen;
- int bytes_left;
+ guint sublen;
+ guint bytes_left;
gboolean first_line;
bytes_left = fhlen;