aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Kuo <bobjkuo@gmail.com>2020-07-20 15:45:32 -0500
committerAnders Broman <a.broman58@gmail.com>2020-07-21 04:35:23 +0000
commit779715a53058c7da1b8b57b78bd781d63f0c9ea7 (patch)
treec3d456d5e3990b8349ddb5bf330a2c03e99e5bd6
parentb4284772b360bc105f79da49b2b0461526b2e594 (diff)
ISO 8583: fix dissector for field 15
Field 15 was defined as a 6-byte fixed-length field but the spec shows it as a 4-byte fixed-length field. Bug: 16721 Change-Id: I25a61a5758e735a6da52417a584c770ef63d41b0 Reviewed-on: https://code.wireshark.org/review/37916 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-iso8583.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-iso8583.c b/epan/dissectors/packet-iso8583.c
index 82eb476943..502422f19a 100644
--- a/epan/dissectors/packet-iso8583.c
+++ b/epan/dissectors/packet-iso8583.c
@@ -79,7 +79,7 @@ static struct iso_type iso_1987[128] = {
{ ISO_TN, 6, 0 }, /*Bit 12*/
{ ISO_TN, 4, 0 }, /*Bit 13*/
{ ISO_TN, 4, 0 }, /*Bit 14*/
- { ISO_TN, 6, 0 }, /*Bit 15*/
+ { ISO_TN, 4, 0 }, /*Bit 15*/
{ ISO_TN, 4, 0 }, /*Bit 16*/
{ ISO_TN, 4, 0 }, /*Bit 17*/
{ ISO_TN, 4, 0 }, /*Bit 18*/
@@ -212,7 +212,7 @@ static struct iso_type iso_1993[128] = {
{ ISO_TN, 12, 0 }, /*Bit 12*/
{ ISO_TN, 4, 0 }, /*Bit 13*/
{ ISO_TN, 4, 0 }, /*Bit 14*/
- { ISO_TN, 6, 0 }, /*Bit 15*/
+ { ISO_TN, 4, 0 }, /*Bit 15*/
{ ISO_TN, 4, 0 }, /*Bit 16*/
{ ISO_TN, 4, 0 }, /*Bit 17*/
{ ISO_TN, 4, 0 }, /*Bit 18*/