aboutsummaryrefslogtreecommitdiffstats
path: root/packet-hclnfsd.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-07-31 19:58:28 +0000
committerGuy Harris <guy@alum.mit.edu>2002-07-31 19:58:28 +0000
commitbaf7543595b0aaaa9a050da3a5cd6c95f8959040 (patch)
tree96f7af24a63ad3b52378cacb454f1459cf759993 /packet-hclnfsd.c
parent5d929e0e8f940c016a55a4f2e8e53874864c4476 (diff)
From Mike Frisch: fix a problem with decoding the AUTHORIZE call.
Update his e-mail address in the AUTHORS file while we're at it. svn path=/trunk/; revision=5923
Diffstat (limited to 'packet-hclnfsd.c')
-rw-r--r--packet-hclnfsd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-hclnfsd.c b/packet-hclnfsd.c
index 2ce0ea17dd..d7bc743586 100644
--- a/packet-hclnfsd.c
+++ b/packet-hclnfsd.c
@@ -2,7 +2,7 @@
* Routines for hclnfsd (Hummingbird NFS Daemon) dissection
* Copyright 2001, Mike Frisch <frisch@hummingbird.com>
*
- * $Id: packet-hclnfsd.c,v 1.14 2002/05/10 23:20:38 guy Exp $
+ * $Id: packet-hclnfsd.c,v 1.15 2002/07/31 19:58:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -204,11 +204,11 @@ dissect_hclnfsd_authorize_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_
newoffset = dissect_rpc_string(tvb, ident_tree,
hf_hclnfsd_auth_ident_obscure, offset, &ident);
- proto_item_set_len(ident_item, newoffset - offset);
-
if (ident)
{
- ident_len = newoffset - offset;
+ ident_len = strlen(ident);
+
+ proto_item_set_len(ident_item, ident_len);
hclnfsd_decode_obscure(ident, ident_len);