mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-09-29 04:29:29 +03:00
fd83fbdb5f
to_bytes() appended the BCD filler nibble, so the next call saw one digit more and derived a wrong length. This affects any code that encodes an address twice, even for printing/logging. Man, I really miss my beloved c++ const function decoration... Fix: keep the filler in a local. Change-Id: I81691c5a1fc5072d6d20c52d22da1eb2e180d04a