diff options
author | Evan Huus <eapache@gmail.com> | 2013-12-18 15:54:32 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-12-18 15:54:32 +0000 |
commit | 8f665d9b36a7b7b3ae30b9e7afbc7724957e0bc1 (patch) | |
tree | 93ea8124c60b6c5e55a1cec422eda62557642cef /asn1 | |
parent | 197c2ffac6913dd3953409bef42af54cfb1f3dfe (diff) |
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 'asn1')
-rw-r--r-- | asn1/ansi_map/packet-ansi_map-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/ansi_map/packet-ansi_map-template.c b/asn1/ansi_map/packet-ansi_map-template.c index 8e73596a58..ef92a7d925 100644 --- a/asn1/ansi_map/packet-ansi_map-template.c +++ b/asn1/ansi_map/packet-ansi_map-template.c @@ -568,7 +568,7 @@ static int dissect_ansi_map_SystemMyTypeCode(gboolean implicit_tag _U_, tvbuff_t static dgt_set_t Dgt_tbcd = { { /* 0 1 2 3 4 5 6 7 8 9 a b c d e */ - '0','1','2','3','4','5','6','7','8','9','?','B','C','*','#' + '0','1','2','3','4','5','6','7','8','9','?','B','C','*','#','?' } }; |