Repository navigation
Security fix: GHSA-phfx-f87r-6j2c
librg_world_read() trusted the size each value declared, so one malformed packet could make it read past the received buffer and crash the reading side (CWE-125). Each value and its payload are now checked against the segment bounds, and a malformed segment returns LIBRG_READ_INVALID before any read handler runs. Everyone reading data from untrusted peers (for example, a server reading client packets) should update.
Thanks to @DicksonWu654 for the report.
Changelog: