Attention is currently required from: dexter, neels, osmith. laforge has posted comments on this change by laforge. ( https://gerrit.osmocom.org/c/pysim/+/43983?usp=email )
Change subject: personalization: SmspTpScAddr edits record 1 of EF.SMSP only ...................................................................... Patch Set 3: (1 comment) File pySim/esim/saip/personalization.py: https://gerrit.osmocom.org/c/pysim/+/43983/comment/32af98cd_55a2fcb5?usp=email : PS3, Line 651: if rec_len I don't think "if rec_len" is the right predicate here. IMHO, it will always be true. I guess you wanted to check "if len(f_smsp.body) > rec_len" ? Even in that case, I'm not entirely sure if it's needed. I would expect that f_smsp.body[len(f_smsp.body):] would always be an empty byte-string and hence can be safely appended? Best to try it in form of a test case. -- To view, visit https://gerrit.osmocom.org/c/pysim/+/43983?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I47b1abc97d7b8caad0c74d7af2e5da38e9a895b1 Gerrit-Change-Number: 43983 Gerrit-PatchSet: 3 Gerrit-Owner: laforge <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <[email protected]> Gerrit-Reviewer: neels <[email protected]> Gerrit-CC: hampushellsberg <[email protected]> Gerrit-Attention: osmith <[email protected]> Gerrit-Attention: neels <[email protected]> Gerrit-Attention: dexter <[email protected]> Gerrit-Comment-Date: Sat, 31 Oct 2026 08:51:51 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
