[tahoe-lafs-trac-stream] [Tahoe-LAFS] #4087: cbor2 encoding of >65KiB strings fails (on some systems)
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Jan 19 18:54:05 UTC 2024
#4087: cbor2 encoding of >65KiB strings fails (on some systems)
---------------------+---------------------------
Reporter: meejah | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
---------------------+---------------------------
On at least one of my systems, doing this fails:
{{{
cbor2.loads(cbor2.dumps(b"\x12" * 65538))
}}}
...with `_cbor2.CBORDecodeEOF: premature end of stream (expected to read
65536 bytes, got 2 instead)`
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4087>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list