CultLib/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 85f7024a35 Refuse a framed length beyond the advertised maximum
Found while checking what would be lost by deleting Ghostlight's vendored fork.
Its copy of transport.rs carried a guard CultLib never had: tcp_framed receive
compared the declared payload length against the max_payload_bytes the profile
advertises for the schema channel, and refused before allocating.

Without it the length in a four-byte header is taken on trust and used directly
to size a buffer, so one header reserves whatever the peer names before a single
payload byte arrives. The guard sits ahead of the allocation, which is the only
place it does any good.

It is inert unless a profile advertises a maximum, so the test advertises one.

This is the last thing unique to that fork. Everything else in it is now here or
was already here, which is what makes the fork safe to delete.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 01:09:11 +02:00
..
cultcache-py Finish the sequence-domain split in Python and Kotlin 2026-09-04 00:40:05 +02:00
cultcache-rs Restore cross-runtime schema recovery and prove staging cleanup 2026-09-04 00:45:48 +02:00
cultcache-ts Make TypeScript packages release-packable 2026-07-13 23:47:38 +01:00
cultmath Clarify CultMath and CultGeometry ownership 2026-08-26 17:47:06 +02:00
cultmesh-browser Harden CultMesh route fallback and secure onboarding 2026-08-18 19:41:03 +02:00
cultmesh-kotlin Finish the sequence-domain split in Python and Kotlin 2026-09-04 00:40:05 +02:00
cultmesh-rs Give the Rust CultMesh runtime a home 2026-09-03 23:09:45 +02:00
cultmesh-ts Recover authority-bound CultMesh and atomic generations 2026-08-26 19:01:24 +02:00
cultnet-rs Refuse a framed length beyond the advertised maximum 2026-09-04 01:09:11 +02:00
cultnet-ts Separate RUDP reliable and lossy sequence domains 2026-09-04 00:33:16 +02:00