Add terminating NULL record to value_string nfs2_mode_names to prevent

segfault.

svn path=/trunk/; revision=1100
This commit is contained in:
Gilbert Ramirez 1999-11-23 17:52:04 +00:00
parent de2370185d
commit aeb4ec481a
1 changed files with 2 additions and 1 deletions

View File

@ -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