aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nfs.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-11-23 17:52:04 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-11-23 17:52:04 +0000
commit3b0e88367eabc68cc57da59623d7967d94d38cff (patch)
treefae7db07587a26dd0823335c113b7d2162685638 /packet-nfs.c
parentcb4a04771821326b742fff3ba50e80af9f6a17c1 (diff)
Add terminating NULL record to value_string nfs2_mode_names to prevent
segfault. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1100 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-nfs.c')
-rw-r--r--packet-nfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-nfs.c b/packet-nfs.c
index dcf88e4424..fbcdaaacbf 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>
*
- * $Id: packet-nfs.c,v 1.6 1999/11/19 13:09:55 gram Exp $
+ * $Id: packet-nfs.c,v 1.7 1999/11/23 17:52:04 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -223,6 +223,7 @@ const value_string nfs2_mode_names[] = {
{ 0100000, "Regular File" },
{ 0120000, "Symbolic Link" },
{ 0140000, "Named Socket" },
+ { 0000000, NULL },
};
int