Skip to content

Structure Extractor parses wrong TLV Length #12

@mpass99

Description

@mpass99

In the context of #11, we identified that the ari-structure-extractor.py returns the wrong length for some TLVs.

The codec for IBINrCellInfoT and IBINrCellInfoT_V2 is parsed with a length of 52 and 60. However, in some research, we captured the TLVs with a length of 104 and 120 bytes.

Data

IBINrCellInfoT

0000   6c 20 a0 01 00 00 00 00 06 01 02 00 1c 00 00 00
0010   d1 bf 00 00 d3 00 f2 05 00 00 00 00 5e 63 02 00
0020   89 02 00 00 00 00 00 00 00 00 00 00 0a 00 00 00
0030   00 00 00 00 a4 07 00 00 00 00 00 00 00 00 00 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00

IBINrCellInfoT_V2

0000   76 20 e0 01 00 00 00 00 06 01 02 00 1c 00 00 00
0010   d1 bf 00 00 d3 00 f2 05 00 00 00 00 5e 63 02 00
0020   89 02 00 00 00 00 00 00 00 00 00 00 0a 00 00 00
0030   00 00 00 00 a4 07 00 00 00 00 00 00 00 00 17 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070   00 00 00 00 00 00 00 00 00 00 00 00

This indicated that the script extracted the wrong length for these TLVs. We might investigate why this happens, which other TLVs are affected, and how we could fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions