diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-27 23:53:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-27 23:53:07 +0000 |
commit | c3d7c67df3a8785925cb73dee146011cffbe43f0 (patch) | |
tree | f6acd2ab953ec0ae9a12bfa5ad68205f8bc31e17 /packet-nfs.c | |
parent | dc05624d72054d5c774e1caf1b840f7fb09bd0a7 (diff) | |
download | wireshark-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.c | 8 |
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; |