ASTERIX: Avoid an integer overflow.
authorGerald Combs <gerald@wireshark.org>
Mon, 23 Jan 2017 17:43:33 +0000 (09:43 -0800)
committerGerald Combs <gerald@wireshark.org>
Mon, 23 Jan 2017 18:51:43 +0000 (18:51 +0000)
commit781f03580c81339513bb1238b202b72469a1240b
tree313617510e11d00660fc92225755091c2b4a9a1d
parentb70929e95b719627163495eeae4233549188d34d
ASTERIX: Avoid an integer overflow.

Count using a guint instead of a guint8.

Bug: 13344
Change-Id: Ic7d337dbb29b92ebb8332f50fd47b5ba2aa3f41e
Reviewed-on: https://code.wireshark.org/review/19746
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
epan/dissectors/packet-asterix.c