mirror of https://gerrit.osmocom.org/pysim
Harald Welte
9a75410a88
We cannot simply skip anything that has 0xFF as first byte to detect the padding after the end of a TLV object: 0xFF may very well be a valid first octet of a multi-octet TAG: Tags of private class (11) with constructed (1) payload will have 0xFF as first octet. So let's expand the check to only detect padding in case of either only a single byte FF being left, or two FF following each other [with whatever suffix]. Change-Id: I5d64ce9ef1d973804daabae0b15c2e2349e6fab9 |
||
---|---|---|
.. | ||
transport | ||
__init__.py | ||
card_handler.py | ||
card_key_provider.py | ||
cards.py | ||
cat.py | ||
commands.py | ||
construct.py | ||
exceptions.py | ||
filesystem.py | ||
gsm_r.py | ||
jsonpath.py | ||
sysmocom_sja2.py | ||
tlv.py | ||
ts_31_102.py | ||
ts_31_103.py | ||
ts_51_011.py | ||
ts_102_221.py | ||
utils.py |