1 | initial version |
That looks like a bug, there should be an issue. Note that the GTPv2 spec is different, as it specifically indicates a variable length IMSI IE instead of a fixed size. All version of the GTPv1 spec indicate a fixed 8 octets for the IMSI IE (in 7.7.2). Very early on clarification was added indicating that the used digits must be contiguous (i.e., 0xf
cannot be used as internal filler, only at the end.)
tvb_get_bcd_string()
in epan/tvbuff.c
would need to be changed to consider any 0xf
as a stop indicator, not just in the extra nibble when there are an odd number of nibbles. I don't _think_ there are any specifications where 0xf
is used as internal filler, though that wouldn't work anyway currently if such appeared in the upper nibble (or lower in big endian.)