From 3b0e88367eabc68cc57da59623d7967d94d38cff Mon Sep 17 00:00:00 2001 From: gram Date: Tue, 23 Nov 1999 17:52:04 +0000 Subject: [PATCH] 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 --- packet-nfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 * - * $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 @@ -223,6 +223,7 @@ const value_string nfs2_mode_names[] = { { 0100000, "Regular File" }, { 0120000, "Symbolic Link" }, { 0140000, "Named Socket" }, + { 0000000, NULL }, }; int -- 2.34.1