diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-04-22 17:42:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-04-22 17:42:47 +0000 |
commit | 180852ed7c715630c9c413cc51af104583bc4e3b (patch) | |
tree | 64c2796dc8558daa935a849657352fec9ff06441 /epan/dissectors/packet-rpc.h | |
parent | 1913c70d1a1231cbfdc8fa002fc311be12b72c7c (diff) | |
download | wireshark-180852ed7c715630c9c413cc51af104583bc4e3b.tar.gz wireshark-180852ed7c715630c9c413cc51af104583bc4e3b.tar.bz2 wireshark-180852ed7c715630c9c413cc51af104583bc4e3b.zip |
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
Diffstat (limited to 'epan/dissectors/packet-rpc.h')
-rw-r--r-- | epan/dissectors/packet-rpc.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 "<EMPTY>" +#define RPC_STRING_DATA "<DATA>" +#define RPC_STRING_TRUNCATED "<TRUNCATED>" + extern const value_string rpc_authgss_svc[]; typedef enum { FLAVOR_UNKNOWN, /* authentication flavor unknown */ |