From 180852ed7c715630c9c413cc51af104583bc4e3b Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 22 Apr 2009 17:42:47 +0000 Subject: From Mark Cave-Ayland: Fix a crash in the PCNFSD dissector. From me: Apply Mark's fix to the ident string. Add public #defines for the special strings that dissect_rpc_* might return and use them in PCNFSD. Replace a manual buffer allocation with ep_strdup_printf. svn path=/trunk/; revision=28128 --- epan/dissectors/packet-rpc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'epan/dissectors/packet-rpc.h') diff --git a/epan/dissectors/packet-rpc.h b/epan/dissectors/packet-rpc.h index 471407e545..0deec13f18 100644 --- a/epan/dissectors/packet-rpc.h +++ b/epan/dissectors/packet-rpc.h @@ -93,6 +93,10 @@ #define AUTHDES_NAMEKIND_FULLNAME 0 #define AUTHDES_NAMEKIND_NICKNAME 1 +#define RPC_STRING_EMPTY "" +#define RPC_STRING_DATA "" +#define RPC_STRING_TRUNCATED "" + extern const value_string rpc_authgss_svc[]; typedef enum { FLAVOR_UNKNOWN, /* authentication flavor unknown */ -- cgit v1.2.3