summaryrefslogtreecommitdiff
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-12-18 15:54:32 +0000
committerEvan Huus <eapache@gmail.com>2013-12-18 15:54:32 +0000
commit8f665d9b36a7b7b3ae30b9e7afbc7724957e0bc1 (patch)
tree93ea8124c60b6c5e55a1cec422eda62557642cef /epan/tvbuff.h
parent197c2ffac6913dd3953409bef42af54cfb1f3dfe (diff)
downloadwireshark-8f665d9b36a7b7b3ae30b9e7afbc7724957e0bc1.tar.gz
Add a sixteenth element to all BCD digit sets to avoid garbage values when
decoding corrupt bytes. Some of these digit sets could probably be deduplicated... svn path=/trunk/; revision=54224
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index 6a5ffaf931..b64e8a8421 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -675,7 +675,7 @@ WS_DLL_PUBLIC gchar *tvb_bytes_to_str(tvbuff_t *tvb, const gint offset,
*/
typedef struct dgt_set_t
{
- const unsigned char out[15];
+ const unsigned char out[16];
}
dgt_set_t;