PER: fix decoding of bit strings with an upper bound >= 64K
Change-Id: Ibe10f172a9758afd5d38a78e2613f97b04d9c8ee Reviewed-on: https://code.wireshark.org/review/28371 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com> Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
db6d8ae80c
commit
8ef62a83f4
|
@ -2237,7 +2237,7 @@ DEBUG_ENTRY("dissect_per_bit_string");
|
|||
}
|
||||
|
||||
/* 15.11 */
|
||||
if (max_len != NO_BOUND) {
|
||||
if (max_len != NO_BOUND && max_len < 65536) {
|
||||
offset=dissect_per_constrained_integer(tvb, offset, actx,
|
||||
tree, hf_per_bit_string_length, min_len, max_len,
|
||||
&length, FALSE);
|
||||
|
|
Loading…
Reference in New Issue