0.6 final

This commit is contained in:
Athena Funderburg committed 2026-11-04 14:03:18 +00:00
1 parent 7c0581eb97
commit b89e1932bb
160 files changed
+20534 -4664

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@ def unmarshal_tlvs(data: bytes) -> list[TLV]:
buf = buffer.Buffer(data)
tlvs = []
while len(buf) > 4:
while len(buf) >= 4:
type = buf.read_u16()
length = buf.read_u16()
value = buf.read_bytes(length)
@@ -51,4 +51,4 @@ def find_tlv(tlvs: list[TLV], type: int) -> Optional[TLV]:
if tlv.type == type:
return tlv
return None
return None