diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2005-02-03 15:03:29 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2005-02-03 15:03:29 +0000 |
commit | 7e9f4b7eb742f11414ebe4486292b7a43cf87d4c (patch) | |
tree | 04dd01b4a14f72c36dad60fc7c52a901ed8a43b9 /epan/ftypes | |
parent | acb8eef002f3bc79122b36efe2c70638709823ac (diff) |
From Pekka Pietikainen <pp@ee.oulu.fi>, add a byte to the hex[]
array so that there is room for the terminating NUL from sprintf().
svn path=/trunk/; revision=13256
Diffstat (limited to 'epan/ftypes')
-rw-r--r-- | epan/ftypes/ftype-string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c index 5a2c9c733d..6e0d9c1b20 100644 --- a/epan/ftypes/ftype-string.c +++ b/epan/ftypes/ftype-string.c @@ -105,7 +105,7 @@ string_to_repr(fvalue_t *fv, ftrepr_t rtype, char *buf) { gchar *p, c; char *bufp; - char hex[2]; + char hex[3]; if (rtype == FTREPR_DFILTER) { bufp = buf; |