aboutsummaryrefslogtreecommitdiffstats
path: root/packet-clnp.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2003-05-24 19:51:48 +0000
committerGerald Combs <gerald@wireshark.org>2003-05-24 19:51:48 +0000
commitdcc9976c1331ed55c0aa9179bbdcc08b5181fd47 (patch)
treec1bd8a99cf71146a18f12e7422030ab68e42603c /packet-clnp.c
parent356ddbd284075257edda1b7a8c77fe9539f817b5 (diff)
Fix more string-related nits found by Timo Sirainen/
svn path=/trunk/; revision=7732
Diffstat (limited to 'packet-clnp.c')
-rw-r--r--packet-clnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-clnp.c b/packet-clnp.c
index 32e583718f..0f54d442df 100644
--- a/packet-clnp.c
+++ b/packet-clnp.c
@@ -1,7 +1,7 @@
/* packet-clnp.c
* Routines for ISO/OSI network and transport protocol packet disassembly
*
- * $Id: packet-clnp.c,v 1.74 2003/04/22 22:03:45 deniel Exp $
+ * $Id: packet-clnp.c,v 1.75 2003/05/24 19:51:48 gerald Exp $
* Laurent Deniel <laurent.deniel@free.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@@ -326,7 +326,7 @@ static gboolean clnp_reassemble = FALSE;
static gchar *print_tsap(const guchar *tsap, int length)
{
- static gchar str[3][MAX_TSAP_LEN * 2 + 1];
+ static gchar str[3][MAX_TSAP_LEN * 2 + 3]; /* TSAP in hex + '0x' + NULL */
static gchar *cur;
gchar tmp[3];
gboolean allprintable;